ContactUs :

Please send your Questions & Answers or Feedback to ""

How to change the heap size of a JVM ?

The old generation's default heap size can be overridden by using the -Xms and -Xmx switches to specify the initial and maximum sizes respectively:

java -Xms <initial size> -Xmx <maximum size> program

For example:

java -Xms64m -Xmx128m program

Related Posts Plugin for WordPress, Blogger...
Flag Counter