Description: Memory usage increases on every file save Steps to Reproduce: 1. Open the attached file 2. Drag pag 2 to pag 1 position 3. Save 4. Repeat 2/3 -> Notice a bump of 30 MB on every save Actual Results: 30 MB memory usage increase on every save Expected Results: Seems off to me Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha1+ (x64) Build ID: 21875558f6c478f07d68ff39e025d7ffd451674f CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL and in 3.3.0
Created attachment 161299 [details] Example file
Repro, but only on Windows Version: 7.1.0.0.alpha0+ (x64) Build ID: baa84b5b4d287da0f00fc3fbf11f464f267c9202 CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win Locale: fi-FI (fi_FI); UI: en-US Calc: threaded
Dear Telesto, To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Still repro in Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 88d7aa8ab79b1197191b5eb24a3b67d313797026 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: threaded and it became even worse -> I saw bump of 80 MB on every save
Retested in: Version: 24.2.0.3 (X86_64) / LibreOffice Community Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1 CPU threads: 8; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win Locale: en-US (en_US); UI: en-US Calc: CL threaded - - - Followed steps in Comment #0: ~516 MB = Initial load ~546 MB = After swap+save Then I continued swapping Pages 1<->2 (doing Steps 1-4), and this was each save after: 558 MB = +12 MB 649 MB = +91 MB 714 MB = +65 MB 777 MB = +63 MB But I don't believe it's the "saving" that's doing it. The vast bulk of it could be the normal Undo/Redo stack. Because after I flip the pages, LO's RAM usage seems to rise by ~ that amount too. - - - - - - If I just did a: 0. Open attachment 161299 [details] (ODG document). 1. Save. 2. Repeat Step 1. This was my RAM usage on each save: 403 MB 452 MB = +49 MB 455 MB = +3 MB 460 MB = +5 MB 448 MB = -12 MB but the second I swapped Page 2->1: 512 MB = +64 MB and an extra save: 519 MB = +7 MB
Steps to Reproduce: 1. Open LibreOffice 2. Tools -> Options -> Advanced -> Expert Configuration -> Set Undo steps from 100 to 0 (to exclude Undo history) 3. Restart LibreOffice 4. Open the attached file 5. Make small modifications: pag 2 to pag 1 position or move the Légende (on some page) to different position. Pressing save without modification has does exhibit the issue as far I'm aware. 6. After each modification. Press Save or CTRL+S 7. 12-13 increases memory usage with 120 MB Memory bump is slightly irregular. Sometimes more compared to others. Why is this a problem? It's maybe 7-10 MB on each save cycle.. A) This becomes an issue when you're editing something and auto-save saving the progress. B) People might work on multiple documents at the same time. So this starts to add up C) It's probably not limited to Draw. Increased memory usage does also happen with Calc/Writer. D) It also happens simple shape, change & save. The bumps are only smaller. Apparently different ram allocation sizes are used on save depending on file size or complexity? Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4d381b54d1c598c181b4a21a8bf0db86eb4668d1 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: nl-NL (nl_NL); UI: en-US Calc: CL threaded