GP-6067 Improve memory settings and docs related to Ghidra Server

service wrapper
This commit is contained in:
ghidra1
2025-10-22 11:26:20 -04:00
parent 9a20684330
commit 66be2b6a2b
2 changed files with 31 additions and 4 deletions

View File

@@ -171,7 +171,10 @@ else
JAVA_CMD="${LS_JAVA_HOME}/bin/java"
fi
# Specify JVM arguments for direct invocations of YAJSW wrapper, including specification
# of maximum heap size (-Xmx) option.
VMARGS=()
VMARGS+=("-Xmx1G")
VMARGS+=("-Djna_tmpdir=${WRAPPER_TMPDIR}")
VMARGS+=("-Djava.io.tmpdir=${WRAPPER_TMPDIR}")