• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat as service: how to add heap options

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
i am using tomcat 5.0.9 as a service on win2K and XP machines. Now i have a OutOfMemory problem and found out that i have to increase the JVM heap size. I would like to set the startvalue to 64MB and the max value to 256. I saw that i could do this with the options "-Xrs -Xms64m -Xmx256m" but where do i have to place this options?? in the path of the service start (tomcat.exe) ? in a environement variable, in a config file? or in a call f a batch?? it would be great not to uninstall and install again the tomcat service...
can anyone please help me??
simon
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This page can probably help you out: http://jakarta.apache.org/commons/daemon/procrun.html
It gives you command line syntax and well as GUI editing.
Good luck
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic