<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Since the memory pressure relief has been activated, my disk has a high usage and the desktop stalls"
href="https://bugs.webkit.org/show_bug.cgi?id=164052#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Since the memory pressure relief has been activated, my disk has a high usage and the desktop stalls"
href="https://bugs.webkit.org/show_bug.cgi?id=164052">bug 164052</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=164052#c0">comment #0</a>)
<span class="quote">> 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.</span >
Those values are useless because they are wrong :-( See <a class="bz_bug_link
bz_status_NEW "
title="NEW - [Linux] Memory values shown by memory pressure handler logger are not useful"
href="show_bug.cgi?id=164589">bug #164589</a>.
<span class="quote">> 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.</span >
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>