<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 - Lots of memory used for inserting an image (fine at save & reload)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134342">134342</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Lots of memory used for inserting an image (fine at save & reload)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.1.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>Draw
          </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:
Lots of memory used for inserting an image (fine at save & reload)

Steps to Reproduce:
1. Open Draw
2. Tools -> Options -> Advanced -> Expert settings -> Search Undo and set it to
0
3. Quite & Relaunch
4. Open the attached file (blank file 3 pages)
5. Download and save
<a href="https://photojournal.jpl.nasa.gov/jpeg/PIA16919.jpg">https://photojournal.jpl.nasa.gov/jpeg/PIA16919.jpg</a>
<a href="https://mars.nasa.gov/system/resources/deepzooms/24797_PIA23623_revised.jpg">https://mars.nasa.gov/system/resources/deepzooms/24797_PIA23623_revised.jpg</a>
6. Open an memory monitoring tool
7. Insert 24797_PIA23623_revised.jpg twice & PIA16919.jpg once (everything on
separate sheet/page 
8. Memory usage will be around 1,9 GB
9. Save.. memory usage around 2,5 GB -> Drops back after save to 1,8 GB
10. Close -> Memory usage drops to 150 mb
11. Reopen the file
12. Click on all 3 page.. even shake the image a bit.. memory usage will be
around 1.2 - 1,3 GB




Actual Results:
1,9

Expected Results:
1,3 GB
Even nicer would be the memory usage of 6.4 after save & reload: 602 MB


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 006c65bbd472cb1d7d44e095714e28190b76be0d
CPU-threads: 4; Besturingssysteem: Windows 6.3 Build 9600; UI-render:
Skia/Rooster; VCL: win
Locale: de-DE (nl_NL); GI: nl-NL
Calc: CL</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>