how can i increase heap memory?
Printable View
how can i increase heap memory?
Hi,
To increase the heap memory, use the following command when you execute your application:
[I]java -Xms32m -Xmx256m MyClassName
[/I]In the above command,
[B]-Xms32m[/B] means that the minimum memory should be 32MB
[B] -Xmx256m[/B] tells the JVM that the maximum heap space should be 256MB.
Hope this helps.
Regards,
Sahil.
[SIZE=1][COLOR=Silver]--Win as if you were used to it,
Loose like you enjoyed it for a change!!! :cool:
[/COLOR][/SIZE]