How to add the -Xmx256m to the java virtual Machine startup command

o0kio0o

Distinguished
Jan 8, 2010
1
0
18,510
How to add the -Xmx256m to the java virtual Machine startup command

Hi, I'm Kio.. I have a program that plays games on the pc and it works but it doesn't go as fast as it should and it tells me why..
(0 [GUI] WARN memory- Cannot allocate FastMemory: add the option '-Xmx256m'to the Java Virtual Machine startup command to improve Performance)
Think that you can tell me how to do as it says so that it can run as it should..

Thanks in Advanced
Kio :)
 

lourson

Distinguished
Jul 9, 2007
122
0
18,710
A bit late but this will be useful to other users I guess. You can add this command to your windows parameters so that all programs using Java will benefit from it.
Look at this tutorial for that: