[e988c2]: / tests / support / trino / etc / jvm.config

Download this file

22 lines (21 with data), 769 Bytes

-server
-agentpath:/usr/lib/trino/bin/libjvmkill.so
# Reduced both the below values from 80% so Trino doesn't try to hog all the
# RAM which we need to run other database containers
-XX:InitialRAMPercentage=40
-XX:MaxRAMPercentage=40
-XX:G1HeapRegionSize=32M
-XX:+ExplicitGCInvokesConcurrent
-XX:+HeapDumpOnOutOfMemoryError
-XX:+ExitOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:ReservedCodeCacheSize=256M
-XX:PerMethodRecompilationCutoff=10000
-XX:PerBytecodeRecompilationCutoff=10000
-Djdk.attach.allowAttachSelf=true
-Djdk.nio.maxCachedBufferSize=2000000
# Improve AES performance for S3, etc. on ARM64 (JDK-8271567)
-XX:+UnlockDiagnosticVMOptions
-XX:+UseAESCTRIntrinsics
# Disable Preventive GC for performance reasons (JDK-8293861)
-XX:-G1UsePreventiveGC