Invalid Heap Size: Xmx, The specified size exceeds the maximum representable size

Invalid Heap Size: Xmx, The specified size exceeds the maximum representable size

Error:

Getting error while starting the agent



























Steps To Reproduce:

- Change the heap size of the agent to 8192(Xmx) on 32-bit JVM machine and try to start the agent.

Solution:

- The JVM installed on the agent machine is the 32-bit version. The maximum heap size of 32-bit JVM on 64-bit OS can be 3.7GB and that's the reason the agent is not running with an 8192 heap size.
- Update your JVM to 64-bit and then you can increase the agent size. It will resolve your issue.

To check JVM version type, java -d64 version command on cmd. If this command throws an error, it means you don't have a 64-bit JVM version on your machine

      Links to better reach 

            Bot Store

             EPD