Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2018 03:20:12 +0200
From:      Konstantin Belousov <kib@freebsd.org>
To:        Robert <robert.ayrapetyan@gmail.com>
Cc:        Mark Millard <marklmi@yahoo.com>, FreeBSD <freebsd-hackers@freebsd.org>, Mark Johnston <markj@freebsd.org>, Rozhuk Ivan <rozhuk.im@gmail.com>
Subject:   Re: Sudden grow of memory in "Laundry" state
Message-ID:  <20181030012012.GL5335@kib.kiev.ua>
In-Reply-To: <f1e9e816-fbbc-5600-9305-f5a9cc38bee1@gmail.com>
References:  <104be96a-c16b-7e7c-7d0d-00338ab5a106@gmail.com> <20180928152550.GA3609@raichu> <e705099c-ea42-4985-1012-50e9fa11addd@gmail.com> <20181024211237.302b72d9@gmail.com> <981C887D-78EB-46D2-AEE5-877E269AF066@yahoo.com> <c25e19a4-d3ef-e419-06f8-8a86082dbf31@gmail.com> <E4B508E7-04CC-41BD-934B-19EE69E85800@yahoo.com> <42f6544f-830c-18c5-e1a8-0acc4c3f09cc@gmail.com> <20181027043819.GX5335@kib.kiev.ua> <f1e9e816-fbbc-5600-9305-f5a9cc38bee1@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 29, 2018 at 03:45:25PM -0700, Robert wrote:
> Hi Konstantin, thanks for your reply.
> 
> As per your response, both active and inactive regions are actually 
> allocated to the user app,
Not necessary.  E.g. the pages which hold the data for some files are
accounted there.

> 
> means my app allocated (and haven't freed) more than available amount of 
> RAM...
> 
> Does that mean there is basically a memory leak in the app code?
It is too far reaching to state that there is a leak only seeing the
the large number of pages becoming dirty.  Leak means that memory is
consumed and not recycled after becoming useless.



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