Hi,
I am testing my node server with ssl.
I generated 200 connections from client to the server, and then
disconnected.
I used both node memwatch to take heap diff and process.memoryUsage() to
get the memory statistics. I explicitly called gc() before I take memory
data.
I assume after disconnecting all connections, memory should be freed and
back to before.
However, I saw memory not down and the biggest chunk was taken by Array
object.
{
"what": "Array",
"size_bytes": 2248816,
"size": "2.14 mb",
"+": 24330,
"-": 773
}
Is there anyway I can instrument heap memory allocation to figure out who
allocated the Array object
and what the content in it ?
Thanks,
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users