Advanced Technical Diagnostics: Spark
Identifying the root cause of performance degradation on a complex Minecraft server can be mathematically challenging without the correct telemetry. Spark is a premier, high-performance CPU and memory profiler designed to provide granular visibility into your server’s “heartbeat” (TPS). By capturing and visualizing technical stack traces, Spark enables administrators to pinpoint exactly which plugin, entity type, or world event is consuming excessive hardware resources. This guide ensuring you can move beyond guesswork and resolve lag through data-driven analysis.Difficulty
Advanced
Time
8 Minutes
Technical Data Collection Workflow
To generate a meaningful performance report, you must capture data while the server is experiencing its highest load.Initialize the Profiler
Ensure the Spark plugin is active (Note: Spark is built-in to the Purpur modloader). Execute the following command in-game or via the console:
The Observation Window
Allow the server to operate for 10 to 15 minutes while participants are actively playing. Profiling an empty server will not yield actionable diagnostic data.
Interpreting the Flame Graph
The Flame Graph is a visual representation of your CPU’s time allocation. Understanding its geometry is essential for successful optimization.- Horizontal Width = CPU Time: The wider a specific bar or “node,” the higher the percentage of your total tick time it consumed. Focus your optimization efforts on the widest nodes.
EntityTickHierarchies: If this section is disproportionately wide, your community likely has too many active mobs, unoptimized entity farms, or a large volume of dropped items.- Plugin Callstacks: Individual plugin names will appear in the graph. If a single plugin (e.g.,
EssentialsX) accounts for more than 15% of the total tick time, it indicates a significant configuration issue or a technical conflict.
Strategic Memory Analysis
Diagnosing Memory Leaks
Diagnosing Memory Leaks
If your server experiences “Out of Memory” (OOM) crashes, use the
/spark heapsummary command. This generates a report of every object currently residing in your server’s RAM, allowing you to identify buggy modifications that are failing to release unused memory.Real-Time Performance Overlay
Real-Time Performance Overlay
Use
/spark health for a rapid overview of your current TPS, CPU usage percentages, and memory heap allocation. This is the fastest method for verifying if a recent technical change had an immediate impact on stability.Need Extra Help?
If you encounter any issues, our support team is ready to assist:- Live Chat: Quick assistance via our website.
- Support Ticket: Open a Ticket
- Discord: Join our Community
- Email: [email protected]
Last Updated: January 2026 | Minecraft: Diagnostics active.