16.10.2015, 14:16, "Prajakta" <[email protected]>:
> 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 
> remaining constant.
> I feel that along with stats.allocated, I need to consider some more stats 
> for finding out this constant.

You can try to use stats.mapped instead.

>
> Thanks,
> Prajakta
>
> On Fri, Oct 16, 2015 at 4:35 PM, Konstantin Tokarev <[email protected]> wrote:
>> 16.10.2015, 14:01, "Prajakta" <[email protected]>:
>>> 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
>>> [email protected]
>>> http://www.canonware.com/mailman/listinfo/jemalloc-discuss
>>
>> --
>> Regards,
>> Konstantin


-- 
Regards,
Konstantin
_______________________________________________
jemalloc-discuss mailing list
[email protected]
http://www.canonware.com/mailman/listinfo/jemalloc-discuss

Reply via email to