Skip to content

Instantly share code, notes, and snippets.

@wolfeidau
Last active December 23, 2015 23:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wolfeidau/6710244 to your computer and use it in GitHub Desktop.
Save wolfeidau/6710244 to your computer and use it in GitHub Desktop.
Node memory leak learning.
> 13488e18e71::findjsobjects -l | ::jsprint -a
13488e18e71: {
length: d00000000: 13,
parent: 2369863e311: {
length: 10000000000000: 1048576,
used: 2f0ccdf04121: undefined,
},
offset: 4c8bf00000000: 313535,
}
3ea4b77c7191: {
length: 3a00000000: 58,
parent: 3ea4b77c71c1: {
<SeqTwoByteString>: 0: 0,
},
offset: 130800000000: 4872,
}
3ea4b77b5db9: {
length: d00000000: 13,
parent: 2369863e311: {
length: 10000000000000: 1048576,
used: 2f0ccdf04121: undefined,
},
offset: a04af00000000: 656559,
}
3ea4b77b5bc9: {
length: d00000000: 13,
parent: 2369863e311: {
length: 10000000000000: 1048576,
used: 2f0ccdf04121: undefined,
},
offset: 9e84f00000000: 649295,
}
3ea4b77b59d9: {
length: d00000000: 13,
parent: 2369863e311: {
length: 10000000000000: 1048576,
used: 2f0ccdf04121: undefined,
},
offset: 9e69f00000000: 648863,
}
     baecc0100c9     1515        2 Packet: type, size
     13488e27049     1694        8 Array
     13488e12fc1     1801       16 WritableState: highWaterMark, ...
     13488e07569     1940        6 <anonymous> (as Timeout): _idleTimeout, ...
     236986c1791     1990        5 Command: command, args, sub_command, ...
     13488e09159     1995        7 <anonymous> (as Timeout): _idleTimeout, ...
     baecc00f629     2183        1 Object: bytes
     baecc01d851     2405        2 PacketHeader: length, number
     13488e12ee9     2408       21 ReadableState: highWaterMark, buffer, ...
     236986106a1     2474       13 RowDataPacket: id, vid, did, ...
     baecc009bf1     2883        1 Arguments: length
     2369863cfd9     4510        3 Array
     13488e18e71     5738        3 Buffer: length, parent, offset
     3af38ec34d1     6484        2 Object: callback, domain
     13488e17de1     8416        2 Array
     13488e04949     9377        0 <anonymous> (as <anon>)
     13488e08ed1    10164        0 Object
     13488e0ff99    18487        0 Array
     9fb5cbc3709    19274        2 Arguments: length, callee
     13488e04929    24948        1 Array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment