Issue 129: Memory consumption hyperoscillations
http://code.google.com/p/v8/issues/detail?id=129
Comment #14 by victor.grishchenko:
Suddenly I stumbled upon Heap::ReportHeapStatistics. It turns out that
memory is consumed by FixedArrays residing
in the old pointer space (55Mb vs 3Mb consumed by JSObjects). As far as I
understand, every object I create in
JavaScript is a descendant of JSObject (e.g. JSArray). So I am completely
confused.
I did a bit more of instrumentation and it seems those are arrays
predominantly of size 100 containing "very long
strings" and integers. I am not a v8 developer so I did not go further.
Looking forward to get some hints.
0x1fe5da9: [FixedArray]
- length: 100
[0]: 21
[1]: 32
[2]: 0x1600135 <Very long string[5767248]>
[3]: 20
[4]: 0x1606925 <Very long string[141414336]>
[5]: 0x1426469 <Very long string[5767232]>
[6]: 64
[7]: 0x16056d9 <Very long string[75848289]>
[8]: 0x140019d <Very long string[5283127]>
[9]: 67
[10]: 0x16069e5 <Very long string[136953025]>
[11]: 0x1426581 <Very long string[5767232]>
[12]: 704
[13]: 0x1606a31 <Very long string[133472896]>
[14]: 0x14265f1 <Very long string[5767232]>
[15]: 960
[16]: 0x16069c1 <Very long string[183547326]>
[17]: 0x1426549 <Very long string[5767232]>
[18]: 576
[19]: 0x1606a09 <Very long string[152163044]>
[20]: 0x14265b9 <Very long string[5767232]>
[21]: 832
[22]: 0x1606971 <Very long string[147476838]>
[23]: 0x14264d9 <Very long string[5767232]>
[24]: 320
[25]: 0x1606981 <Very long string[241534887]>
[26]: 0x14264f5 <Very long string[5767232]>
[27]: 384
[28]: 0x16069a9 <Very long string[237873342]>
[29]: 0x142652d <Very long string[5767232]>
[30]: 512
[31]: 0x1606a51 <Very long string[170837795]>
[32]: 0x1426629 <Very long string[5767232]>
[33]: 1088
Attachments:
whatthehell.txt 9.8 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---