• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

JVM heap size setting

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Setting JAVA_OPTS in catalina.bat should work for Tomcat started as an application.
Bill
 
Police line, do not cross. Well, this tiny ad can go through:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic