Bug 164591

Summary: [Linux] Memory process values shown by the WebMemorySampler in linux are wrong
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKit2Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2 Keywords: Gtk
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

Carlos Garcia Campos
Reported 2016-11-10 07:38:24 PST
It's parsing /proc/self/statm, and returning the values as if they were bytes, but they are number of pages, so to get the bytes we need to take the page size into account. In r208534 I added a method to get /proc/self/statm values in bytes to Platform layer, so we can simply use that instead.
Attachments
Patch (5.07 KB, patch)
2016-11-10 07:41 PST, Carlos Garcia Campos
mcatanzaro: review+
Carlos Garcia Campos
Comment 1 2016-11-10 07:41:55 PST
Carlos Garcia Campos
Comment 2 2016-11-10 08:07:06 PST
Note You need to log in before you can comment on or make changes to this bug.