I am using MyEclipse 8.6 for my web based project. The command may be... Ex: java -Xms32m -Xmx128m How can I increase java heap space??? and Where to use this command exactly?
Following are few options available to change Heap Size.
1 -Xms<size> set initial Java heap size 2 -Xmx<size> set maximum Java heap size 3 -Xss<size> set java thread stack size
For example, you can set minimum heap to 64 MB and maximum heap 256 MB for a Java program HelloWorld.
java -Xms64m -Xmx256m HelloWorld