<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Memory leak"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=108270">108270</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory leak
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.5.0.0.alpha0+ Master
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>telesto@surfxs.nl
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Quite likely a dupe of already reported memory leaks (most likely <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - MEMORY LEAK: LO does not clear previously opened documents from RAM"
   href="show_bug.cgi?id=92482">bug 92482</a>)
but not 100% sure. So created a new one.



Steps to Reproduce:
The easiest why is to monitor memory usage (for example with Process Explorer)
while following the steps. The intention is to increase the working set step by
step while manipulating (multiple) document (and letting some of the increase
stick). Repeating the exact same steps over and over doesn't seem to work.
Using all sorts of different documents helps.

1. Open a random file from start Center
<a href="https://www.iso.org/files/live/sites/isoorg/files/archive/ppt/en/ims-alerts_9001_14001_overview.ppt">https://www.iso.org/files/live/sites/isoorg/files/archive/ppt/en/ims-alerts_9001_14001_overview.ppt</a>
2. Select all slides
3. Change the template (use all available)
4. Close the file (grey cross -> going back to Start Center)

Impress
1. Create Impress Document -> Choose a template
2. Add slides (around 100)
3. Select All of them. Choose switch to different templates (all available)
4. Scroll a bit around in the slide panel
5. Save the file.
6. Close the file (grey cross -> going back to Start Center)

Writer
1. Open a document <a href="http://igne.us/Smokie1.odt">http://igne.us/Smokie1.odt</a> (from start center0
2. Select all content
3. Play with the formatting (for example everything bold/underlined/all sorts
of color highlighted
4. Save the file
6. Close the file (grey cross -> going back to Start Center)

Calc
1. Open a new spreadsheet
2. Select All Cells
3. Change the background color
4. Close the document

5. Open a new spreadsheet
6. Add a shape
7. Change the area to Hatching and select one
8. Close the document

Actual Results:  
Memory usage is steadily increasing

Expected Results:
Memory should stay stable


Reproducible: Always

User Profile Reset: No

Additional Info:
Found in
Version: 5.5.0.0.alpha0+
Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c
CPU threads: 4; OS: Windows 6.19; UI render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-05-28_23:21:44
Locale: nl-NL (nl_NL); Calc: CL

and in
Versie: 4.4.6.3 
Build ID: e8938fd3328e95dcf59dd64e7facd2c7d67c704d
Locale: nl_NL

less prone:
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba


User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101
Firefox/45.0</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>