A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
To increase heap size in java
santhosh kumar vk
Joined: Aug 25, 2009
Sep 10, 2009 23:57:58
I dont know how to increase heap size for
in windows platform please tell me any ideas.
Joined: Jul 24, 2009
Sep 11, 2009 00:11:28
You can change the amount of memory allocated for use by your JVM using the -Xms and -Xmx command line parameters.
For example, the following says run MyApp in a JVM and allocate a minimum of 5 Megabytes and a maximum of 15 Megabytes off of the heap in order to do so.
java -Xms5m -Xmx15m MyApp
I agree. Here's the link:
subject: To increase heap size in java
how to increase heap size in java
Tomcat and Optimizeit throwing Out of memory error
Heap Space Error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013