On Sat, Sep 6, 2014 at 7:47 AM, Liu Xiao <[email protected]> wrote:
> Now I am working on profile and detect memory leak by using Heap Profile
> in Devtools.
> The tool can display info about the JS Heap which is allocated by V8.
> I focus on the memory usage and objects in v8,
> But I think the total memory in v8 is not only JS Heap, but also
> others, isn't it?

That's right.  You can get some insight into that with APIs from
include/v8.h: V8::AddMemoryAllocationCallback(),
Isolate::SetCounterFunction(), Isolate::SetCreateHistogramFunction()
and Isolate::SetAddHistogramSampleFunction().  You can find a list of
counters in src/counters.h.

-- 
-- 
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