[Webkit-unassigned] [Bug 164052] [GTK] Since the memory pressure relief has been activated, my disk has a high usage and the desktop stalls

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 10 06:49:36 PST 2016


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

--- Comment #10 from Carlos Garcia Campos <cgarcia at igalia.com> ---
(In reply to comment #0)
> The memory pressure relief was activated recently in WKGTK+
> 
> Using Ephy, every time it takes action, I can see something like this:
> 
> Memory pressure relief: Empty the PageCache: =dirty (at 8351166464 bytes)
> Memory pressure relief: Prune MemoryCache live resources: =dirty (at
> 8351166464 bytes)
> Memory pressure relief: Drain CSSValuePool: =dirty (at 8351166464 bytes)
> Memory pressure relief: Discard StyleResolvers: =dirty (at 8351166464 bytes)
> Memory pressure relief: Discard all JIT-compiled code: =dirty (at 8351166464
> bytes)
> Memory pressure relief: Dropping buffered data from paused media elements:
> =dirty (at 8351166464 bytes)
> Memory pressure relief: Purge inactive FontData: =dirty (at 8351166464 bytes)
> Memory pressure relief: Clear WidthCaches: =dirty (at 8351166464 bytes)
> Memory pressure relief: Discard Selector Query Cache: =dirty (at 8351166464
> bytes)
> Memory pressure relief: Prune MemoryCache dead resources: =dirty (at
> 8351166464 bytes)
> Memory pressure relief: Prune presentation attribute cache: =dirty (at
> 8351166464 bytes)
> Memory pressure relief: Run malloc_trim: =dirty (at 8351166464 bytes)
> Memory pressure relief: Release free FastMalloc memory: =dirty (at
> 8351166464 bytes)
> 
> 
> The mechanism is definitively good but the problem is when it doesn't
> succeed on freeing much memory.

Those values are useless because they are wrong :-( See bug #164589.

> What it happens is that gets in action
> again, and again, and again, not achieving much but making my hard drive get
> crazy and, therefore, almost stalling my whole desktop.
> 
> Sometimes, at some point it stops and I can retake the usage of the desktop
> but any action that I do in Ephy triggers again the memory pressure relief
> and I have to wait for some more minutes in hope that I will recover control
> over my desktop.

We currently wait at last 5 seconds before trying again. My plan is to check the memory released and if we can contribute at least 1MB, we wait for 30 seconds before trying again.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161110/28cf00a8/attachment.html>


More information about the webkit-unassigned mailing list