<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><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> changed
<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>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>cgarcia@igalia.com
</td>
</tr></table>
<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#c3">Comment # 3</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#c2">comment #2</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=164052#c1">comment #1</a>)
> > I think that it would be good, then, to have some public signal notifying
> > that WK is getting out of memory and the pressure relief is not helping.
> >
> > That way, apps that are using WK will be able to warn the user about it.
> >
> > For example, with Ephy, it could be displayed a warning in the fashion:
> >
> > "Ephy is running out of memory. Please, close some tabs or other programs"
>
> The same workload / number of tabs that used to work quite well without the
> memory pressure relief is now swapping. So I doubt WK is really running out
> of memory.
>
> For what it is worth, I have 8GB of physical RAM.</span >
That's a different issue though. This bug is about running the memory pressure handler several times when the memory situation is critical, assuming the measure is correct. Another issue is that we might be calculating the memory available wrongly, or that we are triggering the handler too early (we currently use 90%). Note also that the memory pressure doesn't monitors the webkit memory, but the system memory, so it's possible that it's not WebKit the one causing the high memory usage, but we try to help in any case by freeing caches, etc. In those cases it's common that we end up freeing very little memory or nothing, we could check that and increase the interval to install the handler again.
If you think we are measuring wrong, or that 90% is too early, file a new bug report, please.</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>