Calculate VM size using jemalloc.
praj.jagtap at gmail.com
Fri Oct 16 04:16:22 PDT 2015
So, there might be some way by which I will be able to get constant part
process.(Text + stack).
In my calculations, for finding out this constant part I was referring to:
VMSize (from /proc/pid/status) - stats.allocated (from jemalloc).
But, after few allocations only I can see that this difference is not
I feel that along with stats.allocated, I need to consider some more stats
for finding out this constant.
On Fri, Oct 16, 2015 at 4:35 PM, Konstantin Tokarev <annulen at yandex.ru>
> 16.10.2015, 14:01, "Prajakta" <praj.jagtap at gmail.com>:
> > Hi,
> > I want to calculate VM size of process.
> > In /proc/pid/status, we get amount of VM size used by the process.
> > I want to get same counter with the help of jemalloc.
> You cannot, because jemalloc takes care about heap only.
> > For that I was making use of stats.allocated.
> > Do I need to take into consideration any other statistics for getting VM
> > Thanks,
> > Prajakta
> > ,
> > _______________________________________________
> > jemalloc-discuss mailing list
> > jemalloc-discuss at canonware.com
> > http://www.canonware.com/mailman/listinfo/jemalloc-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jemalloc-discuss