keeping memory usage at certain limit
danielmicay at gmail.com
Thu May 1 02:18:32 PDT 2014
On 01/05/14 04:36 AM, Antony Dovgal wrote:
> What buffles me most is that stats.allocated keeps returning the same
> value, but RSS constantly grows.
> Could it be because of the amount of threads I use?
> Say, I free memory in one thread and try to allocate in another one, but
> the second thread
> doesn't have it cached and has to do the actual allocation?
RSS will also grow as you touch more of the virtual memory allocated for
stacks via mmap. It isn't necessarily all coming from jemalloc.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: OpenPGP digital signature
More information about the jemalloc-discuss