Sudden grow of memory in "Laundry" state

Konstantin Belousov kib at freebsd.org
Tue Oct 30 01:20:26 UTC 2018


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.


More information about the freebsd-hackers mailing list