<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 - Memory leak when displaying large files from filing system"
   href="https://bugs.webkit.org/show_bug.cgi?id=160650">160650</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory leak when displaying large files from filing system
          </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>Macintosh
          </td>
        </tr>

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

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

        <tr>
          <th>Severity</th>
          <td>Major
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>Images
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>techsupport&#64;4d.net.au
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=285542" name="attach_285542" title="Screenshot of Activity Monitor">attachment 285542</a> <a href="attachment.cgi?id=285542&amp;action=edit" title="Screenshot of Activity Monitor">[details]</a></span>
Screenshot of Activity Monitor

Summary:
If you display several large files in Safari/Webkit loaded from the local filing system (e.g.. file:///Users/waynestewart/Desktop/sample_1.jpg) the memory for these is not released if you load a subsequent image in the same tab/window or reread the image.
The memory is released when you close the tab/window however.

Steps to Reproduce:
1. Get a large image or pdf (note pdfs are better as you can get some really large ones!) from finder and load in Webkit
2. Drag another image or pdf into the address area so it loads
3. Repeat with more images/pfds
4. Alternatively you can just have one image/pdf and hit reload (Command R) multiple times.
5. Look at Memory usage in Activity Monitor

Expected Results:
Memory usage should be appropriate for the currently loaded image

Actual Results:
Memory usage continues to increase

Version:
OS X 10.11.5 (15F34)

Configuration:
16GB RAM System Ram</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>