This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Performance
Bookmark "To increase heap size in java" Watch "To increase heap size in java" New topic
Author

To increase heap size in java

santhosh kumar vk
Ranch Hand

Joined: Aug 25, 2009
Posts: 146
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To increase heap size in java