Calculate VM size using jemalloc.

Konstantin Tokarev annulen at yandex.ru
Fri Oct 16 04:05:08 PDT 2015



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 Size?
>
> Thanks,
> Prajakta
> ,
>
> _______________________________________________
> jemalloc-discuss mailing list
> jemalloc-discuss at canonware.com
> http://www.canonware.com/mailman/listinfo/jemalloc-discuss


-- 
Regards,
Konstantin


More information about the jemalloc-discuss mailing list