GP-6067 Limit Ghidra Server service wrapper to 512MB heap size

This commit is contained in:
ghidra1
2025-10-27 12:54:05 -04:00
parent c0a8981512
commit 996f6d5e8a
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ fi
# Specify JVM arguments for direct invocations of YAJSW wrapper, including specification
# of maximum heap size (-Xmx) option.
VMARGS=()
VMARGS+=("-Xmx1G")
VMARGS+=("-Xmx512M")
VMARGS+=("-Djna_tmpdir=${WRAPPER_TMPDIR}")
VMARGS+=("-Djava.io.tmpdir=${WRAPPER_TMPDIR}")