Bug 156450 - Memory Leak/Increased RAM usage while scrolling
Summary: Memory Leak/Increased RAM usage while scrolling
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.5.2.2 release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Scrolling-Performance
  Show dependency treegraph
 
Reported: 2023-07-24 19:10 UTC by Jata
Modified: 2025-06-24 14:58 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jata 2023-07-24 19:10:50 UTC
Description:
Scrolling within a document causes the RAM usage to increase until it crashes because there is no more memory available causing a loss of any unsaved data.  

Steps to Reproduce:
1.open document
2.scroll until Libre uses all available RAM.
3.CTD

Actual Results:
CTD and loss of data.

Expected Results:
CTD and loss of data.


Reproducible: Always


User Profile Reset: No

Additional Info:
Not use additional memory every time you scroll.
Comment 1 m_a_riosv 2023-07-24 22:17:38 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
and paste the information in Menu/Help/About LibreOffice, there is an icon to copy.
Comment 2 Julien Nabet 2023-07-25 09:13:44 UTC
Also, please upgrade to LO 7.5.5.
Comment 3 Jata 2023-07-25 15:46:13 UTC
(In reply to Julien Nabet from comment #2)
> Also, please upgrade to LO 7.5.5.

I have updated since posting the issue persists. It actually used more memory per scroll after the update. 

Disabling Skia rendering solved the issue.
Comment 4 Jata 2023-07-25 15:46:52 UTC
(In reply to m.a.riosv from comment #1)
> Please test in safe mode, Menu/Help/Restart in Safe Mode
> and paste the information in Menu/Help/About LibreOffice, there is an icon
> to copy.

I found a solution on stackoverflow. Disabling Skia rendering solved the issue.
Comment 5 m_a_riosv 2023-07-25 16:22:10 UTC
You can try to update the graphics driver, from the vendor.
Comment 6 Jata 2023-07-25 17:30:49 UTC
(In reply to m.a.riosv from comment #5)
> You can try to update the graphics driver, from the vendor.

I'll give that a shot. It only does it on my PC without a discrete GPU.
Comment 7 QA Administrators 2023-07-26 03:13:58 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2023-09-07 15:34:24 UTC
Did you see the problem with Skia/Vulkan or Skia/Raster? You can see this in Help - About.
Comment 9 Jata 2023-09-08 17:28:05 UTC
(In reply to Buovjaga from comment #8)
> Did you see the problem with Skia/Vulkan or Skia/Raster? You can see this in
> Help - About.

Not sure. I don't know if the iGPU supports Vulcan. I just turned off Skia. That solved the memory leak issue. I've updated my drivers but haven't tested it as I haven't been in the office much lately.
Comment 10 BogdanB 2024-12-25 12:18:08 UTC
Jata, we need more info from you from Help - About, when Skia is activated.
Comment 11 QA Administrators 2025-06-24 03:10:22 UTC
Dear Jata,

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
Comment 12 Buovjaga 2025-06-24 13:17:02 UTC
(In reply to BogdanB from comment #10)
> Jata, we need more info from you from Help - About, when Skia is activated.

Jata: are you still seeing this issue even with Skia? If yes, per Bogdan's request, please copy and paste here the content of your Help - About by clicking the copy button. This allows us to know more about your system.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.