From 5b8fe5af0b1fe46bebbee84ea377138676165e1e Mon Sep 17 00:00:00 2001 From: Manfred Moser Date: Tue, 5 Mar 2024 11:21:40 -0800 Subject: [PATCH] Update JVM config for JOL agent support --- docs/src/main/sphinx/installation/deployment.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/src/main/sphinx/installation/deployment.md b/docs/src/main/sphinx/installation/deployment.md index a1851878c1a2..71514738ba68 100644 --- a/docs/src/main/sphinx/installation/deployment.md +++ b/docs/src/main/sphinx/installation/deployment.md @@ -145,6 +145,8 @@ The following provides a good starting point for creating `etc/jvm.config`: # Reduce starvation of threads by GClocker, recommend to set about the number of cpu cores (JDK-8192647) -XX:+UnlockDiagnosticVMOptions -XX:GCLockerRetryAllocationCount=32 +# Allow loading dynamic agent used by JOL +-XX:+EnableDynamicAgentLoading ``` You must adjust the value for the memory used by Trino, specified with `-Xmx`