Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
    
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
    
Thanks, worked fine. –  Michael Wiles Sep 13 '11 at 14:52

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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