Forum Discussion

wantorp2's avatar
wantorp2
Occasional Contributor
8 years ago
Solved

Error: Could not create the Java Virtual Machine.

Hi,

 

I run my api tests using testrunner.bat commands by the cmd.exe, but I always get the following error in the tests.

 

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx

 

Does anyone have the same problem?

 

Thanks,

 

Best regards