Files
ProxmoxVE/install
Aashish Vivekanand 645c635650 stirling-pdf: size JVM heap from container memory, not host RAM (#18292)
The service ran `java -jar` without the JAVA_BASE_OPTS from .env, and inside
LXC the JVM cannot see the container's memory limit, so it sized its heap from
host RAM (16 GB in a 2 GB CT on a 64 GB host) and the container thrashed and got
OOM-killed. Pass the .env options, set -XX:MaxRAM from /proc/meminfo (lxcfs
reports the CT limit), lower MaxRAMPercentage to 50 for LibreOffice/tesseract
headroom, and migrate existing units on update (also drops the broken
ExecStop=/bin/kill -15 %n left from before #16813).

Fixes #18291

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 17:44:47 +01:00
..