Bug 156450 - Memory Leak/Increased RAM usage while scrolling
Summary: Memory Leak/Increased RAM usage while scrolling
Status: UNCONFIRMED
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:
 
Reported: 2023-07-24 19:10 UTC by Jata
Modified: 2023-09-08 17:28 UTC (History)
3 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.