JVM Startup Parameter Config
Online JVM startup parameter configurator with visual tuning for memory, GC, compiler, and runtime options, generating startup commands in real time
Smart Recommendation
Generate JVM parameter combinations by server resources and workload scenario
Memory Settings
GC Settings
Performance Tuning
Other Settings
Generated Startup Command
Multi-line command (better readability)
Single-line command (direct execution)
Quick Presets
Parameter Notes
-XmsInitial heap size. In production, it is often set equal to -Xmx.
-XmxMaximum heap size. A common rule is to keep it below 75% of host memory.
-XX:NewRatioControls young/old generation ratio and impacts promotion behavior.
-XX:MetaspaceSizeInitial metaspace size. Increase when class loading is heavy.
-XssPer-thread stack size. Tune with recursion depth and thread count.
JVM Tuning Best Practices
- Keep -Xms and -Xmx equal in production to reduce runtime resizing overhead.
- Leave memory headroom for OS and native allocations instead of maxing out heap.
- Choose GC by target latency and throughput, then verify with real traffic patterns.
- Enable GC logs and review pause time, frequency, and heap trend regularly.
- Tune after load tests and measured bottlenecks rather than adding random flags.
Guide
JVM Startup Parameter Config helps you build Java launch options visually across memory, GC, compiler, and runtime settings with immediate command output.
Key Features
- Smart recommendation based on memory, CPU cores, Java version, and workload scenario.
- Unified controls for heap, metaspace, stack, GC logs, compiler mode, and runtime flags.
- Preset profiles for quick setup and command validation before deployment.
- Support for custom JVM arguments and Java agents for project-specific needs.
How To Use
- Choose scenario and server spec, then apply recommendation.
- Fine-tune memory, GC, performance, and additional settings.
- Review the generated startup command on the right panel.
- Copy the command into scripts, containers, or deployment platforms.
FAQ
- Why CMS does not work: CMS was removed after Java 14, use G1 or ZGC instead.
- Why string dedup is missing: it is added only when GC and Java version support it.
- Is my configuration uploaded: no, all processing runs locally in your browser.
- Will this run commands directly: no, this tool only generates command text.
Privacy
Your settings and generated command stay in your browser and are not uploaded by this tool.