aspose file tools
The moose likes Performance and the fly likes To increase heap size in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "To increase heap size in java" Watch "To increase heap size in java" New topic

To increase heap size in java

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 148
I dont know how to increase heap size for java in windows platform please tell me any ideas.

Thank you
satishbsk kumar

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

I agree. Here's the link:
subject: To increase heap size in java
It's not a secret anymore!