difference between used memory and that in profiled result

Jason Evans jasone at canonware.com
Thu Jul 7 14:29:57 PDT 2016


On Jun 22, 2016, at 10:12 PM, Himanshu <g.himanshu at gmail.com> wrote:
> I used the steps described on https://github.com/jemalloc/jemalloc/wiki/Use-Case%3A-Leak-Checking to dump profiling information of a java process. When the process runs, I can see with "top" that utilized 
>   - virtual memory by the process goes upto about 6 GB and stays there
>   - resident memory by the process goes upto about 4GB and stays there
> 
> 
> However , the pdf graph generated shows "Total B: 104353080" (~ 100 MB) which is way smaller than the actual memory utilized by the process. What configuration do I need to use so that graph can account for all memory utilization as reported by "top".

Is all allocation being done via jemalloc?  I'm guessing that Java is calling mmap() directly for most its heap.

Jason


More information about the jemalloc-discuss mailing list