From 1c8490a9cf8ff60fc58308e188937c101f952c43 Mon Sep 17 00:00:00 2001 From: Marcel Taeumel Date: Mon, 27 Jun 2022 10:49:40 +0200 Subject: [PATCH] Work around memory leak in OSVM 2022(.06) --- templates/linux/squeak.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/linux/squeak.sh b/templates/linux/squeak.sh index 4a9471e..be6427c 100755 --- a/templates/linux/squeak.sh +++ b/templates/linux/squeak.sh @@ -169,5 +169,9 @@ ensure_vm ensure_image detect_sound +# Enable per-monitor scaling to work around memory leak: +# https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/642 +export SQUEAK_DISPLAY_PER_MONITOR_SCALE=1 + echo "Using ${VM} ..." exec ${SOUNDSERVER} "${VM}" ${VMOPTIONS} ${VMARGS} "${IMAGE}" "${STARGS[@]}"