How can you increase the JVM memory?

Showing Answers 1 - 3 of 3 Answers

Rajkumar

  • Dec 13th, 2006
 

Use the java command options "-Xms" and "-Xmx" to specify the starting and maximum limits, respectively. See the java command documentation for details.
 
specify initial and max memory available to jvm and thread stack for use during execution
java -Xms 256m -Xmx 256m -Xss 256m <command file>

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions