mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 14:41:07 +08:00
GP-6067 Limit Ghidra Server service wrapper to 512MB heap size
This commit is contained in:
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user