File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM heap size setting

 
Ambily G Nair
Greenhorn
Posts: 28
  • 0
  • 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: 13047
6
  • 0
  • 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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic