FreeBSD9.2: Tomcat process with very high memory allocation

Matthias Petermann matthias at petermann-it.de
Mon Nov 25 22:32:26 UTC 2013


Hello Anton,

On 11/25/2013 11:08 PM, Anton Sayetsky wrote:

> There is _no_ problem. Tomcat has 9 GiB of virtual memory and 439 MiB
> of resident.
> The actual amount of really used mem is 439 MiB.
> Virtual contains all memory that theoretically can be used (but NOT
> allocated at a point of time in contrast of res) by process, all
> shared libraries that it used etc etc. In practice, virt memory shows
> nothing helpful.
> You should take a look on only resident memory of processes in most cases.
> http://linuxpoison.blogspot.com/2009/10/what-is-difference-among-virt-res-and.html

Just for curiosity - is there a way to display all (theoretically) used
virtual memory of a process? So I'd like to understand how it calculates
the total size shown in top.

Many thanks in advance.

Best regards,
Matthias


More information about the freebsd-questions mailing list