<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 usage increases with 20 MB style setting font change and closing the document doesn't free the memory"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=133667">133667</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Memory usage increases with 20 MB style setting font change and closing the document doesn't free the memory
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.0.3 release
          </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>Writer
          </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:
Memory usage increases with 20 MB style setting font change and closing the
document doesn't free the memory

Steps to Reproduce:
1. Open <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=160498" name="attach_160498" title="The file which creates the most problems">attachment 160498</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=160498&action=edit" title="The file which creates the most problems">[details]</a></span> and take notice of the memory usage of
soffice.bin
2. Open the style dialog -> Paragraph style
3. Select text body -> And click right click modify
4. Change the font to Dejavu and say fontsize 13 -> Monitor CPU/ memory usage..
will increase with 20MB
5. Repeat step 5 with different font/font size (2 or 3 times)
6. Close the document -> Don't save
7. Look at the memory usage


Actual Results:
175 MB in use after document close.. Bumping with 20MB for every change

Expected Results:
Behavior like in 6.1. Needed only 102 MB.. O
* Purge memory on close
* Ideally purge after some changes


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.0.0.0.beta1+
Build ID: 2891e91a513520d68ea2b8c59c14335861a15253
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

but not in
Version: 6.2.6.0.0+
Build ID: d250c94d78ac7e79753aa30f869db919b01fc450
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: x11; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Likely related to
<a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Memory usage after save increases with 37 MB since 6.2 and sticks around even after close of the document"
   href="show_bug.cgi?id=133645">bug 133645</a> 
<a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Export to PDF uses 45 MB more memory on export and without being purged after export or close"
   href="show_bug.cgi?id=133646">bug 133646</a></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>