Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
Why does Red Hat Linux report less free memory on the system than is actually available?

after freshly rebooting the VM "top" indicates about 0.5 GB out of 8 GB RAM are being used. Then we run some installation code. After the install program is done and all subprocesses are terminated, "top" still shows around 5 GB being used, e.g.

Mem: 8062088k total, 5021456k used, 3040632k free, 187892k buffers

Later on, when running the installed software we run into OutOfMemoryErrors even for small Java programs being started. This behaviour did not really change/become better when upgrading the VM from 4 GB to 6 GB and to 8 GB.

Is there a way / a tool

  • to find out what is this memory being used for?
  • to find out how can the memory be released?
  • how can that memory usage probably for operating system usage (rather than user processes) be limited?

Many thanks for any hint, Uli

share|improve this question

marked as duplicate by Michael Hampton, mdpc, Scott Pack, ewwhite, Shane Madden Oct 25 '12 at 1:32

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

Are you running out of Tomcat? I believe most Java containers will have a memory setting, and AFAIK tomcat's starts at 128 megs, usually you have to increase that.

share|improve this answer

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