<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Constant JSC heap growth during iterating iframe loads"
   href="https://bugs.webkit.org/show_bug.cgi?id=156014">156014</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Constant JSC heap growth during iterating iframe loads
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>JavaScriptCore
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>zan&#64;falconsigh.net
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>akling&#64;apple.com, cgarcia&#64;igalia.com, darin&#64;apple.com, gyuyoung.kim&#64;webkit.org, mcatanzaro&#64;igalia.com, ossy&#64;webkit.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=275186" name="attach_275186" title="Test case">attachment 275186</a> <a href="attachment.cgi?id=275186&amp;action=edit" title="Test case">[details]</a></span>
Test case

Attached is a test case that iterates between loading 4 Web pages into an iframe element every 6 seconds. For this problem to occur, constantly reloading only one page of the four is enough.

As the iframe keeps on loading the pages, the memory consumption in the WebProcess goes through the roof, relatively quickly consuming over 1GB of memory and continuing to grow. The JSC heap grows as well, accounting for roughly a third of the consumed memory in the WebProcess. As it grows, it appears to be poorly garbage-collected, keeping references to WebCore objects that probably should have been destroyed already, further increasing the memory consumption.

Reproducible with WebKitGTK+ r198827, OS X Nightly r198725.</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>