> Page::Print() in a debug build somewhere
As the class comment "A page is a memory chunk of a size 1MB. Large object 
pages may be larger."
It is a detail info for a single page.
However, I want a heap profile on the whole, and something about the memory 
leak.
Could you give me some advice?

> Actually Web Inspector's heap dump is pretty useful if you haven't tried 
it. 
Did you mean the Memory Timeline & Heap Profiler in DevTools? I have tried 
it, very powerful tool.

On Thursday, August 28, 2014 2:39:00 AM UTC+8, Kang-Hao(Kenny)Lu(平寿) wrote:
>
> (2014/08/27 17:01), Liu Xiao wrote: 
> > So, could you tell me how can I make best use of the flags about heap? 
>
> It depends. If you only care about the amount of memory used then 
> --trace-gc suffices (and there are other GC tracing flags that I am not 
> familiar with). If you want to get a heap dump then you can add 
> Page::Print() in a debug build somewhere but unfortunately there is no 
> flag for it. 
>
> Actually Web Inspector's heap dump is pretty useful if you haven't tried 
> it. 
>
>

-- 
-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to