Java VM Memory Sizes


/ Published in: Java
Save to your folder(s)

Change the size of min and max memory used by the VM


Copy this code and paste it in your HTML
  1. java -Xms256M -Xmx1024M
  2.  
  3. would set the min size to 256MB and the max size to 1024MB.

URL: http://javahowto.blogspot.com/2006/06/6-common-errors-in-setting-java-heap.html

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.