Bug 140926 - Memory usage still high after presentation has ended
Summary: Memory usage still high after presentation has ended
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.1.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2021-03-09 18:51 UTC by Telesto
Modified: 2025-09-04 16:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (16.64 MB, application/vnd.oasis.opendocument.presentation)
2021-03-09 18:51 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-03-09 18:51:10 UTC
Description:
Memory usage still high after presentation has ended

Steps to Reproduce:
1.Open the attached file (and take task manager to see memory usage
2.Press F5
3. Press and hold Enter -> until different sheet set starts
4. Click around few other slides

Actual Results:
950 - 1 GB memory usage.. even after presentation has finished

Expected Results:
500 or


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: dc3b64dcbfb0a49c0be65bd8d73ed4e6d3828a21
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL
Comment 1 Telesto 2021-03-09 18:51:53 UTC
Created attachment 170378 [details]
Example file
Comment 2 Roman Kuznetsov 2021-03-11 11:45:20 UTC
LO doesn't drop unused memory in this case. Confirm in

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9d8accf03984a64a4105826e55b221962628eb93
CPU threads: 4; OS: Windows 6.1 Service Pack 1 Build 7601; UI render: default; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL

LO use a 650 mb of memory even after closing Impress instead about ~200 mb.
I'm not sure, but may be it's a inside LO's cache works so...
Comment 3 QA Administrators 2023-03-12 03:22:06 UTC Comment hidden (obsolete)
Comment 4 Kira Tubo 2023-09-23 20:37:27 UTC
Reproduced in daily master build. 
- Opening file in Impress took up around 200mb. 
- After exiting slide show (I did not click through full slide show), memory was around 730mb, then dropped to 690mb and remained there. 
- Closing Impress returned memory around 200mb. 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 486ae5db6987411d5e394de94b2b077099d03856
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Not reproducible in 3.3 (memory remained around 120-140mb), so this is a regression.
Comment 5 Buovjaga 2025-08-15 18:33:05 UTC
(In reply to Telesto from comment #0)
> 3. Press and hold Enter -> until different sheet set starts

I assume what you wanted to say is until slide 69.

Testing with old repos, oldest of linux-41max already shows a ~100 MB increase remaining. Oldest of bibisect-43all repo (3.5), shows only a ~20 MB increase remaining. However, last36onmaster and last40onmaster tags in the repo both crash upon starting the slideshow, so I doubt this is bibisectable. Doing `git checkout HEAD~100` from last36onmaster shows the "good" memory increase, so the change happens somewhere around 3.6 and 4.0.

As comment 2 hints, of course it's debatable whether this is a real issue at all. Caching is not a crime and the resources on your computer are there to be used.
Comment 6 BogdanB 2025-09-04 16:26:40 UTC
Still here.
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 09a48f45d9a3e72ab761e6808701362c9c0b2e51
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

The 100% for a 1 CPU si moving to 50% on 2 CPU, then again 100% on 1 CPU and so on... Even closing the document and the CPU is up.