Seahub Memory Spikes due to poppler-utils

Hey all,

since the last Update to 12.0.14 (CE) memory demand is spiking. Previously our VM (not docker) ran with 4GiB of RAM. After multiple occurrences where seahub was oom-killed, we increased Mem to 8GiB and again to 16GiB. Yesterday our Monitoring warned AGAIN. This time seahub spiked at 11.5GiB. (~200GB storage, <15 regular daily Users, many more just for sharing permissions w/o own libs or files and irregular logins)

“top” shows poppler (via seahub) being the source of this.

> cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.3 LTS"
> dpkg -l | grep poppler
ii  libpoppler-cpp0t64:amd64      24.02.0-1ubuntu9.7
ii  libpoppler-glib8t64:amd64     24.02.0-1ubuntu9.7
ii  libpoppler134:amd64           24.02.0-1ubuntu9.7
rc  libpoppler44:amd64            0.24.5-2ubuntu4.4 
ii  poppler-data                  0.4.12-1          
ii  poppler-utils                 24.02.0-1ubuntu9.7

> systemctl status seahub
● seahub.service - Seafile hub
     Loaded: loaded (/etc/systemd/system/seahub.service; enabled; preset: enabled)
     Active: active (exited) since Sat 2025-10-11 06:01:05 CEST; 6 days ago
    Process: 2396 ExecStart=/home/seafile/seafile-server-latest/seahub.sh start (code=exited, status=0/SUCCESS)
   Main PID: 2396 (code=exited, status=0/SUCCESS)
      Tasks: 6 (limit: 19105)
     Memory: 724.3M (peak: 11.5G)
        CPU: 43min 54.517s

In the logs I see multiple mentions of this, but this was in the logs even before the update and not bound to a specific point in time:

[2025-10-17 06:21:10] [ERROR] seahub.thumbnail.utils:239 create_pdf_thumbnails Image size (620049942 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.
[2025-10-17 06:21:10] [ERROR] django.request:241 log_response Internal Server Error: /thumbnail/49be177d-17b1-49e5-9ddc-345d8c863d51/create/

Beside that I don’t see any more infos in the logs corresponding to the event.

We can live with those demands. Nevertheless I wanted to report the behavior and maybe resolve this with the help of yours.