New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 810183 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

v8::GlobalHandles::Create is responsible for 64MB of memory

Project Member Reported by alph@chromium.org, Feb 7 2018

Issue description

I was playing with native memory sampling profiler and one of the profiles showed that v8::GlobalHandles::Create is responsible for 64 MB of memory being in use. Does this correspond to millions of handles?

The scenario: I had a gmail.com page open for several hours, then I navigated to a large spreadsheet from the omnibox, then took the native heap snapshot.

Please find the profile attached. You can open it in DevTools memory page.

I did a quick sanity check by adding printfs at GlobalHandles::NodeBlock constructor. On a large Google Sheets page in 10 minutes it created ~1500 blocks 8232 bytes each, i.e. ~13MB.
 
Heap-20180207T150342.heapprofile
599 KB Download
Screenshot from 2018-02-07 15:09:15.png
327 KB View Download

Comment 1 by alph@chromium.org, Feb 8 2018

Labels: -Pri-3 M-66 Performance-Memory Pri-2
Status: Assigned (was: Untriaged)

Comment 3 by hpayer@chromium.org, Feb 20 2018

Thanks for filing this issue. Ulan, I remember we stumbled over something similar during the memory roadshow. Was that also on docs?

Comment 4 by alph@chromium.org, Feb 21 2018

it is not similar, it is the one we stumbled upon. ;-)

Comment 5 by hpayer@chromium.org, Feb 21 2018

Ha, even better :)

Sign in to add a comment