Created attachment 182432 [details] Screenshots of RAM usage (I don't know what else I can share since this happens with literally any document, big or small) OS: Windows 10 Home 21H2 OS Build 19044.1989 LibreOffice version: 7.4.0.3 Issue: LibreOffice Writer uses too much RAM if left in the background for a while (the excessive RAM usage usually starts after a few hours in the background but sometimes it runs for days without guzzling RAM). RAM usage increases by about 20-40 MB per minute when it starts taking more RAM. However, I do not have any other information since this is a totally random bug and I don't know what triggers it. I only have screenshots from Task Manager showing it consuming large amounts of RAM for a 2-page document. The first time it took up too much RAM however, Windows' Task Manager reported that Writer took 500 MB only (it was 4.7 GB according to the RAM usage graph since it was at 10.6 GB usage before I closed Writer and 5.9 GB after I closed it). The second and third time however, Task Manager has correctly reported RAM usage at 2.1-2.4 GB. How to reproduce: Happens at random, but this issue usually happens if I leave LibreOffice open in the background for a while without saving.
Would you mind to post the menu -> help -> about information? I'm especially interest if you're using Skia Vulkan or Raster If Vulkan, try forcing Raster by checking: Tools -> Options -> View -> Force Skia Software Rendering.
Resetting the user profile might help too: https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile
(In reply to Telesto from comment #1) > Would you mind to post the menu -> help -> about information? > I'm especially interest if you're using Skia Vulkan or Raster > > If Vulkan, try forcing Raster by checking: Tools -> Options -> View -> Force > Skia Software Rendering. It says the following: Version: 7.4.0.3 (x64) / LibreOffice Community Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded I have disabled Skia, does that automatically enable Raster rendering? I can't find an option that specifically says "Raster". Anyways, now, the about info is: Version: 7.4.0.3 (x64) / LibreOffice Community Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: default; VCL: win Locale: en-GB (en_GB); UI: en-GB Calc: threaded Is the "default UI render" the same as Raster?
(In reply to Telesto from comment #2) > Resetting the user profile might help too: > https://wiki.documentfoundation.org/ > UserProfile#Resolving_corruption_in_the_user_profile I have left Writer running in the background for a few hours, and it seems it isn't guzzling RAM. But I still have to test it for longer. By the way, is there any way to make Raster more readable? The lack of anti-aliasing (and the slightly different letter shapes due to the rendering) is making it a bit more difficult to read (though that's partially because my laptop screen is 1366x768 and just 100ppi in pixel density).
You can also test an unstable build Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html I noticed there were some memory leak fixes in the past couple of months that are not in 7.4.
(In reply to Buovjaga from comment #5) > You can also test an unstable build Win-x86_64@tb77-TDF from > https://dev-builds.libreoffice.org/daily/master/current.html > > I noticed there were some memory leak fixes in the past couple of months > that are not in 7.4. Is it possible to install it as a separate program so that I can switch between the unstable version and the one I already have?
(In reply to mvk1234321 from comment #6) > (In reply to Buovjaga from comment #5) > > You can also test an unstable build Win-x86_64@tb77-TDF from > > https://dev-builds.libreoffice.org/daily/master/current.html > > > > I noticed there were some memory leak fixes in the past couple of months > > that are not in 7.4. > > Is it possible to install it as a separate program so that I can switch > between the unstable version and the one I already have? By default it installs separately and also uses a separate user profile directory.
(In reply to Buovjaga from comment #7) > By default it installs separately and also uses a separate user profile > directory. I tried installing the program, but it is giving this error: Warning 1946. Property 'System.AppUserModel.ID' for shortcut 'LibreOfficeDev Math.lnk' could not be set.
(In reply to mvk1234321 from comment #8) > (In reply to Buovjaga from comment #7) > > By default it installs separately and also uses a separate user profile > > directory. > > I tried installing the program, but it is giving this error: Warning 1946. > Property 'System.AppUserModel.ID' for shortcut 'LibreOfficeDev Math.lnk' > could not be set. That's a warning, though, not an error. So it seems to have merely skipped the creation of one shortcut.
Do you still have the problem with memory leak?
Dear mvk1234321, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear mvk1234321, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp
Try running LibreOffice in Safe Mode to see if the problem persists. You can do this by going to Help > Restart in Safe Mode and selecting Continue in Safe Mode. If the problem does not occur in Safe Mode, it may be due to a corrupted user profile https://ask.libreoffice.org/t/writer-memory-leak-libreoffice-7-3-0/74053 https://houseofhazards.com.