Highway
Splitscreen Studios
- Joined
- Feb 23, 2010
- Messages
- 1,708
- Reaction score
- 1,180
If you use VisualVM will see that the parmeters work but why they dont affect the game much as it only reserves the memory the JVM is allowed to use. (PG used around 50-150 MB ) The rest is taken as needed up to 4GB by the native code. Check the "Private Bytes" to measure it correctly and read a few documentations.
There are no magical switches
Edit: Btw your command line is incorrect. Check my example again
There are no magical switches
Edit: Btw your command line is incorrect. Check my example again
Code:
"..\..\java_vm\bin\javaw.exe" -Xmx1024M -jar "PirateGalaxy.jar" gameId=pirategalaxy