Bug 162519 - SLIDESHOW - Looping Slideshow causes out of memory error on some Linux systems
Summary: SLIDESHOW - Looping Slideshow causes out of memory error on some Linux systems
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.4.7.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Show Performance
  Show dependency treegraph
 
Reported: 2024-08-19 12:33 UTC by acerzw
Modified: 2025-02-12 15:28 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Image of dmsg error (5.49 MB, image/jpeg)
2024-08-19 12:56 UTC, acerzw
Details
Slide show I was running (2.61 MB, application/vnd.oasis.opendocument.presentation)
2024-08-19 13:07 UTC, acerzw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acerzw 2024-08-19 12:33:57 UTC
I am running LibreOffice 7.4.7.2 Impress on Debian Linux 12 with a small presentation on loop (3 slides with a few pictures). I have added it to the startup process so it runs automatically, however even if I run it manually the result is the same. After about 30mins the process is killed by the system as it runs out of memory. “dmesg” shows this in the log:

Out of memory: Killed process 1499 (soffice,bin) total vm:8931528kb, anon-rss:3504525kb, file-rss:0kb, shmem-rss: 41072kb, UID:1000 pgtables:11520kb oom_score_adj:0

I have run this presentation on MX-Linux also and on two different machines, it has the same issue. It does not appear to be related to the distro or hardware. “dmesg” originally indicated that the out of memory was caused by the package “xdg-desktop-portal”, however uninstalling this and running it again reveals that the above is the actual cause.
Comment 1 acerzw 2024-08-19 12:56:32 UTC
Created attachment 195897 [details]
Image of dmsg error

Image of dmsg error
Comment 2 acerzw 2024-08-19 13:07:29 UTC
Created attachment 195899 [details]
Slide show I was running

Slideshow I was running
Comment 3 acerzw 2024-08-19 13:19:59 UTC
On MX-Linux it took about an hour on a machine with 8gb of ram
Comment 4 Buovjaga 2024-10-29 19:50:28 UTC
I tried with 7.4 on Arch Linux and after 20 mins the memory use had not increased. No observable increase with the master version either.

Do you also see this with version 24.8?
Comment 5 John 2025-02-07 19:19:02 UTC
I can confirm that this also happens on LO 24.8.4.2 while running on Ubuntu 24.04.1 (installed as a snap package)

However it doesn't appear to happen on openSUSE Leap 15.6 with LO 24.8.4.2. This laptop has an nVidia graphics card (which is probably not relevant).

John
Comment 6 Buovjaga 2025-02-08 07:04:55 UTC
NEW per the previous comment.
Comment 7 John 2025-02-12 15:28:04 UTC
I can add that this also happens on Ubuntu 24.04.1 when run from a copy of LO installed from a downloaded .deb file from the LO downloads page.