<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&#64;igalia.com" title="Carlos Garcia Campos &lt;cgarcia&#64;igalia.com&gt;"> <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">&gt; The memory pressure relief was activated recently in WKGTK+
&gt; 
&gt; Using Ephy, every time it takes action, I can see something like this:
&gt; 
&gt; Memory pressure relief: Empty the PageCache: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Prune MemoryCache live resources: =dirty (at
&gt; 8351166464 bytes)
&gt; Memory pressure relief: Drain CSSValuePool: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Discard StyleResolvers: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Discard all JIT-compiled code: =dirty (at 8351166464
&gt; bytes)
&gt; Memory pressure relief: Dropping buffered data from paused media elements:
&gt; =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Purge inactive FontData: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Clear WidthCaches: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Discard Selector Query Cache: =dirty (at 8351166464
&gt; bytes)
&gt; Memory pressure relief: Prune MemoryCache dead resources: =dirty (at
&gt; 8351166464 bytes)
&gt; Memory pressure relief: Prune presentation attribute cache: =dirty (at
&gt; 8351166464 bytes)
&gt; Memory pressure relief: Run malloc_trim: =dirty (at 8351166464 bytes)
&gt; Memory pressure relief: Release free FastMalloc memory: =dirty (at
&gt; 8351166464 bytes)
&gt; 
&gt; 
&gt; The mechanism is definitively good but the problem is when it doesn't
&gt; 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">&gt; What it happens is that gets in action
&gt; again, and again, and again, not achieving much but making my hard drive get
&gt; crazy and, therefore, almost stalling my whole desktop.
&gt; 
&gt; Sometimes, at some point it stops and I can retake the usage of the desktop
&gt; but any action that I do in Ephy triggers again the memory pressure relief
&gt; and I have to wait for some more minutes in hope that I will recover control
&gt; 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>