File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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
Tomcat and Optimizeit throwing Out of memory error
Heap Space Error
how to increase heap size in java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014