Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM heap size setting

 
Ambily G Nair
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We have seen your posting.Actually we are also facing certain problem with the JVM heap size.We are working on tomcat 5.0.19 .We want to change the heap size setting .When I tried to make a change in Jprobe profiler heap size setting it is working there perfectly.But in jmeter testing again the previous heap size is taken .How can I change the heap size and the most important question is where I have to put the command.
In certain site I have seen the command given below.

set JAVA_OPTS = -server -Xms512m -Xmx512m -XX ermSize=32m -XX:MaxPermSize=64m
Shall I use this command.If yes where I have to put this? Is it in catalina.bat?

Please help me..

Thank you.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Setting JAVA_OPTS in catalina.bat should work for Tomcat started as an application.
Bill
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic