Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2013 01:28:38 +0100
From:      Matthias Petermann <matthias@petermann-it.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD9.2: Tomcat process with very high memory allocation
Message-ID:  <5293EB36.9000303@petermann-it.de>
In-Reply-To: <CAFG2KCLAN6D9mRjFsNzuA7sJaZb0oq2NKw5mPKbAznX5QxKpeA@mail.gmail.com>
References:  <5293C7F7.6040503@d2ux.org> <CAFG2KCLAN6D9mRjFsNzuA7sJaZb0oq2NKw5mPKbAznX5QxKpeA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5293EB36.9000303>