Description: Memory usage increased when changing fonts/ formatting Steps to Reproduce: 1. Open the attached file 2. Select all text 3. Change the font and enable or disable different types of formatting Memory usage will steadily grow.. Actual Results: Memory usage will steadily grow Expected Results: Stops at around 228 mb in 6.4 Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.0.0.alpha1+ (x64) Build ID: b587de60d4e6aa96238766272d94f1499b22f696 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
Created attachment 161206 [details] Example file
Probably another way to reproduce 1. Open LibreOffice (start center) 2. Open Writer 3. Close the writer document (back to start center) 4. Repeat... 5x.. and notice the memory usage increasing
Thank you for reporting the bug. I can confirm that the bug is present in version 7.1.0.0.alpha0 Build ID: 4c4b3218b8595a9809ffade0cfd064f3d9335dff
I noticed the simplest way was just to select all and toggle bold on and off. Each toggling increased the memory. I bibisected with Linux 6.5 repo to https://git.libreoffice.org/core/+/2d341a75c083cf2336fd14db66e850109fe83c89%5E!/ tdf#120734 Increase max lookup value to 10.000 Telesto: this is actually a fix for a report from you.
Discussed with Samuel in the chat and will close this as notabug. We are probably seeing the undo stack growing. No evidence of an actual memory leak. Didn't investigate a method to clear the undo stack (maybe some macro?), but at least mem is freed upon closing the doc. Samuel referred to https://www.valgrind.org/docs/manual/faq.html#faq.reports