| Author |
To increase heap size in java
|
santhosh kumar vk
Ranch Hand
Joined: Aug 25, 2009
Posts: 115
|
|
hi,
I dont know how to increase heap size for java in windows platform please tell me any ideas.
Thank you
|
 |
satishbsk kumar
Greenhorn
Joined: Jul 24, 2009
Posts: 15
|
|
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
Rgds,
Satish
|
 |
 |
|
|
subject: To increase heap size in java
|
|
|