Thursday, April 23, 2015

Increase the JVM Heap Size/Java Memory On Windows

1 . Go to Control Panel ---->  Open Java  Settings---->
2 . In Java Settings ----> Select tab Java ---->
3 . Change amount of heap.In "Runtime Parameters" column change the value (like -Xms512m)
or if it is blank decide for the new value, of the Java memory.
                                       OR
You can also try adding Java Memory through the Environment Properties
  1. Right-click My Computer ---> Properties ---> Advanced System Settings --->
           System Properties ---> Environment Variables
     2.   Add a new variable name and value.
                For variable name enter JAVA_OPTS for variable value enter JAVA_OPTS=-Xms256m -Xmx512m

No comments:

Post a Comment

bloggerwidgets