[Webkit-unassigned] [Bug 86281] 59% of Vector buffer capacity is unused

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 12 22:41:42 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86281





--- Comment #10 from Simon Fraser (smfr) <simon.fraser at apple.com>  2012-05-12 22:40:46 PST ---
I added some code to track extant Vectors, and log the unused space in those from time to time.

In a single tab after browsing to a few sites, I have:
145340 extant vectors wasting 23.21MB 67.59% (used 11671558 bytes, capacity 36014131 bytes):

RPRVT was about 228M at this point, so this accounts for about 10% of our memory use:

PID    COMMAND      %CPU TIME     #TH   #WQ  #POR #MREG RPRVT  RSHRD  RSIZE  VPRVT  VSIZE  PGRP  PPID  STATE    UID  FAULTS    COW     MSGSENT   MSGRECV   SYSBSD    SYSMACH   CSW
28172  WebProcess   0.0  00:27.57 10    1    128  685   228M   91M    520M   745M   4215M  28157 28171 sleeping 501  207107    1784    30340     13840     69599+    37470     8734+

I'm collecting stack traces for Vector allocation, so I can find the most wasteful allocation points.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list