https://bugs.documentfoundation.org/show_bug.cgi?id=171073

            Bug ID: 171073
           Summary: Memory leak in Impress when playing a slideshow on
                    loop
           Product: LibreOffice
           Version: 24.2.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
There appears to be a pretty severe memory leak in Impress when playing a
slideshow on loop.

I have a fairly large slideshow (100 slides, 400 mb file) and when I set it to
play on a continuous loop, after a period of time (seems mostly random, but
usually in the hour or so time frame) Libreoffice will simply crash and quit.
After trying multiple versions of Libreoffice (latest 24.2, 25.8 and 26.2
releases) across a few different Linux distros (Ubuntu, both using Wayland and
X11: and Linux Mint Cinnammon and Xfce editions), and on two separate pieces of
hardware (two older Intel NUC machines - one with an Intel Core i3-6000 series
processor and 8GB DDR4 RAM and another with an Intel Core i3-4000 series
processor and 8GB DDR3 RAM) I finally tracked it down to a pretty sizable
memory leak.

I opened up the task manager and observed how much memory Libreoffice was using
while playing the slideshow. It started initially using about 2GB of real
memory, and over time that continually went up until it saturated not only the
available virtual memory, but also real memory until it just quit.

I read that some people were experiencing issues specifically with smooth
transition variant of the "fade" transitions (which is what my slideshow uses)
so I tried a few different variants (fade to white and fade to black), and ran
into the same issue with both.


Steps to Reproduce:
1. Set slideshow to play on a loop
2. Play slideshow
3. Wait for a bit (depends on how many slides are in the show - anywhere from a
few dozen min. to a couple of hours) until Libreoffice crashes. You can monitor
memory usage while the slideshow is playing to see how it balloons in size.

Actual Results:
Libreoffice Impress crashes after a period of time. No crash report pops up or
anything, Impress simply quits as if it was manually quit.

Expected Results:
It should simply play the slideshow on loop indefinitely until I manually stop
it.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
These are just a couple of different versions of LibreOffice that I tried:

Version: 24.2.7.2 (X*^_64) / LibreOffice Community
Environment: CPU threads: 4; OS: Linux 6.17
User Interface: UI render: default; VCL: gtk3
Locale: en-US (en_US UTF-8); UI: en-US
Misc: Ubuntu package version: 4:24.2.7-0ubuntu0.24.0.4.4 Calc: threaded

Versions: 25.8.5.2 (X86_64) / LibreOffice Community
Build:
https://git.libreoffice.org/core/history/252c20f6956e3db0b52e6e2f9dda67263513c8fc
Environment: CPU threads: 4; OS: Linux 6.17
User Interface: UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Misc: Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to