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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Performance
Reply 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: 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: To increase heap size in java
 
Similar Threads
how to increase heap size in java
java.lang.OutOfMemoryError
OutOfMemory Error
Tomcat and Optimizeit throwing Out of memory error
Heap Space Error