vmoptions (Xmx)
Hi,
i'd love to increase the maximum amout of Java Heap Size in the 'mps.exe.vmoptions', but i'm unable to do it. When I increse the '-Xmx1200m' to any other amount, MPS wont start.
The error message is "Could not create the Java virtual machine.". I'm running MPS on a 64Bit-Windows7 System with 16G RAM.
Was anyone able to increase the max Heap-Size?
//Edit:
My current mps.exe.vmoptions looks like this:
Best Regards,
Simon
i'd love to increase the maximum amout of Java Heap Size in the 'mps.exe.vmoptions', but i'm unable to do it. When I increse the '-Xmx1200m' to any other amount, MPS wont start.
The error message is "Could not create the Java virtual machine.". I'm running MPS on a 64Bit-Windows7 System with 16G RAM.
Was anyone able to increase the max Heap-Size?
//Edit:
My current mps.exe.vmoptions looks like this:
-client -Xss1024k -ea -Xmx1420m -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
Best Regards,
Simon
Please sign in to leave a comment.
Increasing it up to -Xmx1420m works. Is this some sort of Magic Number?
As far as I know, 32-bit JVM does not allow allocating more than 1500M.
What version of MPS are you using? And under which OS are you working?
Mihail
I'm using MPS 2.0.6. I wasn't aware of using a 32-bit Version when i noticed that MPS comes with it's own JRE. Is it possible to get like an MPS 64Bit Version? Or am i able to replace the underlying JRE?
I'm running MPS on an Windows7-64Bit System.
You can replace JRE, which is located in {mps_home}/jre
We use Sun JDK and JRE, so please replace with Sun versions* we haven't tested MPS with other JREs.
Thank you for the fast replies.