Bug 102786
Summary: | Chromium Native Memory Profiler shows 5MB in Page.Image for about:blank | ||
---|---|---|---|
Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WONTFIX | ||
Severity: | Normal | CC: | abarth, jochen, loislo, noel.gordon, pfeldman, schenney, yurys |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Eric Seidel (no email)
Chromium Native Memory Profiler shows 5MB in Page.Image for about:blank
Page.Image 5 425 KiB 27.9%
That's of a 19MB total.
I'm not sure if that number is accurate or not, but it seems we have a problem either way. :)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Eric Seidel (no email)
Here are all the lines which should be contributing to this number:
http://code.google.com/p/chromium/source/search?q=PlatformMemoryTypes%3A%3AImage&origq=PlatformMemoryTypes%3A%3AImage&btnG=Search+Trunk
jochen
How large is the browser window you have? I would expect that during rendering, it keeps around an image of width x height x 2 bytes
Eric Seidel (no email)
Changing the size of the window and snapshotting again does not seem to change this number. I've tried with large and small windows, and they get 5MB pretty consistently.
My display is 2560 x 1600 and the window was at least 2/3 the size of the screen. Suggesting that if the backing-store was counted, we should be seeing more like 10MB of storage, no?
Eric Seidel (no email)
I suspect it may also be 5MB of images loaded to run the inspector?
Ilya Tikhonovsky
(In reply to comment #4)
> I suspect it may also be 5MB of images loaded to run the inspector?
It could be canvas image used by InspectorOverlay
https://bugs.webkit.org/show_bug.cgi?id=99429
Unfortunately we can't count this image as a part of Inspector block because we are not able to track the ownership of an object at the moment but we are working in this direction.
Ilya Tikhonovsky
(In reply to comment #5)
> (In reply to comment #4)
> > I suspect it may also be 5MB of images loaded to run the inspector?
>
> It could be canvas image used by InspectorOverlay
> https://bugs.webkit.org/show_bug.cgi?id=99429
>
> Unfortunately we can't count this image as a part of Inspector block because we are not able to track the ownership of an object at the moment but we are working in this direction.
The simplest way to reduce inspector data is
Ilya Tikhonovsky
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > I suspect it may also be 5MB of images loaded to run the inspector?
> >
> > It could be canvas image used by InspectorOverlay
> > https://bugs.webkit.org/show_bug.cgi?id=99429
> >
> > Unfortunately we can't count this image as a part of Inspector block because we are not able to track the ownership of an object at the moment but we are working in this direction.
>
> The simplest way to reduce inspector data is
incidental comment