Skip to content

Commit

Permalink
Update JVM config for JOL agent support
Browse files Browse the repository at this point in the history
  • Loading branch information
mosabua committed Mar 5, 2024
1 parent d9ead29 commit 5b8fe5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/main/sphinx/installation/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 5b8fe5a

Please sign in to comment.