ant task on agent - out of memory exception

Follow

Comments

1 comment

  • Avatar
    Unknown_User

    "%JAVA_CMD%" -Xms256M -Xmx1024M -jar "%AGENT_DIR%\agent-bootstrapper.jar" %GO_SERVER% %GO_SERVER_PORT% 


    on the agent.cmd file


    or


    adjust the value of AGENT_STARTUP_ARGS in agent.cmd


    and pass it  to the JAVA cmd at the end of the agent.cmd file


    because ant is invoked by agent, it is the agent that should have sufficient memory.


    i was getting the same problem as you and this fixed my problem.

Please sign in to leave a comment.