1

I want to change the startup parameters of tomcat6 on ubuntu, running as a service. I want to give it more memory.

What is the best way to do this?

Michael Wiles
  • 437
  • 1
  • 6
  • 15
  • As far as I know, all services will grab resources as they need them… is that incorrect? – jrg Sep 13 '11 at 10:23
  • with tomcat, because it is java I need to send a command line parameter to the service. When I say service I mean it is configured to start via a script in /etc/init.d - I haven't figured out exactly where to put this parameter... – Michael Wiles Sep 13 '11 at 10:47
  • 1
    http://stackoverflow.com/questions/286007/how-to-tune-tomcat-5-5-jvm-memory-settings-without-using-the-configuration-progra - that work? – jrg Sep 13 '11 at 11:24

1 Answers1

2

The answer here worked for you according to the comments.

I would normally include the essential parts of the answer to avoid linkrot, but since this is on another Stackexchange site that won't be an issue.

jrg
  • 60,101
  • 54
  • 172
  • 246