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?

  • 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
    stackoverflow.com/questions/286007/… - that work? – jrg Sep 13 '11 at 11:24

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.