Skip to content

Instantly share code, notes, and snippets.

@Maverik
Last active June 16, 2026 09:53
Show Gist options
  • Select an option

  • Save Maverik/c20ae34a48bdb0ef20bd316a0f70aaba to your computer and use it in GitHub Desktop.

Select an option

Save Maverik/c20ae34a48bdb0ef20bd316a0f70aaba to your computer and use it in GitHub Desktop.
Rider / IDEA vmoptions backed by GraalVM
-Xms1G
-Xmx24G
-XX:NewRatio=3
-XX:+UseZGC
-XX:+ZGenerational
-XX:-TieredCompilation
-XX:ParallelGCThreads=3
-XX:ZAllocationSpikeTolerance=4
-XX:ZCollectionInterval=30
-XX:+UnlockExperimentalVMOptions
-XX:+ShowCodeDetailsInExceptionMessages
-XX:+ParallelRefProcEnabled
-server
--enable-preview
-Drider.backend.DOTNET_gcServer=0
-Drider.backend.DOTNET_gcConcurrent=1
-Drider.backend.DOTNET_GCHeapHardLimitPercent=4b
-Drider.backend.DOTNET_GCHighMemPercent=46
-Drider.backend.DOTNET_GCRetainVM=0
-Drider.backend.DOTNET_gcAllowVeryLargeObjects=1
-Drider.backend.DOTNET_GCConserveMemory=9
-Drider.backend.DOTNET_GCDynamicAdaptationMode=1
-Drider.backend.DOTNET_GCLargePages=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment