20 lines
695 B
Plaintext
20 lines
695 B
Plaintext
# =============================================================================
|
|
# Trino — JVM Tuning
|
|
# Referensi arsitektur: bab 4.3.1.7
|
|
# =============================================================================
|
|
-server
|
|
# Heap WORKER: menampung eksekusi task (scan, join, agregasi).
|
|
-Xmx1G
|
|
-XX:+UseG1GC
|
|
-XX:G1HeapRegionSize=32M
|
|
-XX:+UseGCOverheadLimit
|
|
-XX:+ExplicitGCInvokesConcurrent
|
|
-XX:+HeapDumpOnOutOfMemoryError
|
|
-XX:+ExitOnOutOfMemoryError
|
|
-XX:HeapDumpPath=/data/trino/heapdump
|
|
# Diperlukan oleh Trino 450 untuk Java < 22.0.2 (JDK-8329528)
|
|
-XX:+UnlockDiagnosticVMOptions
|
|
-XX:G1NumCollectionsKeepPinned=10000000
|
|
-Djdk.attach.allowAttachSelf=true
|
|
-Djava.security.egd=file:/dev/urandom
|