Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running tomcat on a ubuntu 10.4 VPS with 512MB of RAM (1024 burstable). I'm using it for development, so performance isn't an issue, but memory is.

Tomcat is currently using about 250MB without any apps installed (I compared memory usage with tomcat stopped and running), and I also need to run lighttpd and mysql.

Is there any way to get that number down? I don't need it to be able to handle a large number of requests at once.

share|improve this question
Try looking in your config files, there might be a setting buried in there somewhere. – samoz Jun 8 '10 at 11:54
up vote 1 down vote accepted

You can try tuning the following parameters on your tomcat startup

-Xms128m -Xmx128m

Also it would be worth you checking on what Garbage collection options you have enabled on tomcat, having GC tuned correctly will help keep your memory usage down.

share|improve this answer

Your Answer


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.