This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Tomcat and the fly likes JVM heap size setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "JVM heap size setting" Watch "JVM heap size setting" New topic
Author

JVM heap size setting

Ambily G Nair
Greenhorn

Joined: Aug 21, 2004
Posts: 28
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

Joined: Mar 22, 2000
Posts: 12835
    
    5
Setting JAVA_OPTS in catalina.bat should work for Tomcat started as an application.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM heap size setting