Bug 150897 - Memory using increasing while scrolling all slides in Slide pane
Summary: Memory using increasing while scrolling all slides in Slide pane
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Memory
  Show dependency treegraph
 
Reported: 2022-09-10 09:28 UTC by Roman Kuznetsov
Modified: 2024-01-27 15:38 UTC (History)
7 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 Roman Kuznetsov 2022-09-10 09:28:39 UTC
Description:
Memory using increasing while scrolling all slides in Slide pane

this one follows bug 129774

Steps to Reproduce:
1. Open attachment 133491 [details] in Impress and look at your system task manager -> LO took around 300mb of memory
2. Scroll all slides in Slide pane to the end and look at your system task manager -> LO took around 1900mb of memory!


Actual Results:
LO Impress took around 2Gb of memory while you scroll slides in Slide pane

Expected Results:
LO Impress doesn't change its memory taking while you scroll slides in Slide pane


Reproducible: Always


User Profile Reset: No



Additional Info:
Found it while retest of bug 129774 and this one repro in

Version: 7.4.0.3 (x64) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: threaded

but not in 7.3 version => regression

I bisected this problem in win64-7.4 bisect repo and got

https://git.libreoffice.org/core/commit/db6c5c7f9dddd81a8f18a74d6051555680837adc

https://gerrit.libreoffice.org/c/core/+/133486

CC to: Pranam Lashkari

Pranam please loot at it
Comment 1 m_a_riosv 2022-09-10 11:58:08 UTC
Seems every slide takes about 30 Mb. Deleting slides, saving and reopening the file shows the reduction of memory usage. Maybe not all slides are loaded at the beginning.
Comment 2 Jean-Baptiste Faure 2022-09-29 14:30:47 UTC
Reproducible for me with Version: 7.4.3.0.0+ / LibreOffice Community
Build ID: 901297a0361c0b0508e5c9fa413e1002560cb49a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

No problem in Version: 7.3.7.0.0+ / LibreOffice Community
Build ID: a288453c50f49852c2a83cc4716ec44d6230d37c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

Setting as NEW.

Best regards. JBF
Comment 3 Aron Budea 2024-01-27 15:38:38 UTC
This got fixed in LO 7.6, the memory use is much smaller after the following range, which is a single commit in the 7.6 Windows bibisect repo. It's still increasing with ~50 MB after scrolling through the slides pane, but I'd say that's acceptable.

https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=dc50abb7f972c53fcca08d2ac3627e7848456520..5e68d6cfade45f40b1ad46025a81afe4cb8dd337