Home›Java›Mods›RamOptimiserX
RamOptimiserX
ModsJava

RamOptimiserX

Java mod listed for Minecraft 1.21–26.x. Downloads from the MC Java Mods app on Android.

by mdtowhid5577 · on Modrinth

Advanced adaptive RAM and JVM memory optimization plugin for Paper & Folia. Monitor heap, GC, memory pressure and safely clean unnecessary resources.

⬇ Download on Modrinth

🧠 RamOptimiserX

Advanced RAM & JVM Memory Optimization for Minecraft Servers

RamOptimiserX is an advanced, lightweight and adaptive memory-management plugin for Minecraft servers running Paper and Folia.

It continuously monitors JVM memory usage, garbage collection, memory pressure and server performance, then performs safe optimization of resources that the plugin can actually control.

Monitor. Analyze. Optimize. Stabilize.

RamOptimiserX does not pretend that repeatedly calling System.gc() can magically free all server RAM. Instead, it focuses on real memory-management techniques such as cache cleanup, resource lifecycle management, bounded history, memory-pressure detection and adaptive workload control.


🚀 Core Features

🧠 Advanced JVM Memory Monitor

Monitor real JVM memory statistics:

View current information with:

/ramx status

📊 Intelligent Memory Pressure Detection

RamOptimiserX calculates the current memory-pressure state using multiple JVM metrics.

NORMAL
LOW
MEDIUM
HIGH
CRITICAL

The system can consider:

This prevents the plugin from reacting aggressively to a single temporary memory spike.


⚡ Adaptive Optimization

RamOptimiserX automatically changes its optimization intensity depending on the server's current memory condition.

NORMAL
   ↓
Light monitoring

LOW
   ↓
Normal optimization

MEDIUM
   ↓
Increase safe cleanup

HIGH
   ↓
Aggressive safe resource cleanup

CRITICAL
   ↓
Emergency memory management

When memory pressure becomes severe, RamOptimiserX can also reduce its own background workload so the optimizer does not become another source of server lag.


🧹 Safe Resource Cleanup

RamOptimiserX can safely manage resources owned by the plugin itself.

Examples:

It does not randomly clear memory belonging to other plugins.


♻️ Smart Cache Management

RamOptimiserX uses controlled caches with:

This prevents the plugin itself from becoming a source of memory growth.


🔍 Memory Growth Detection

The plugin monitors memory trends over time.

Example:

2.1 GB
2.3 GB
2.5 GB
2.7 GB
2.9 GB
3.1 GB

If memory continues growing abnormally across multiple GC cycles, RamOptimiserX can report:

POSSIBLE_MEMORY_GROWTH

It does not falsely claim that a confirmed memory leak exists when the JVM simply has not returned memory to the operating system.


♻️ Garbage Collection Monitoring

Monitor:

States:

NORMAL_GC
HIGH_GC
GC_PRESSURE
SEVERE_GC_PRESSURE

Important

RamOptimiserX does not spam System.gc().

Manual GC is optional and disabled by default.

The plugin prioritizes safe resource cleanup and allocation reduction over forced garbage collection.


📈 Memory History

Maintain bounded rolling memory history.

Available time windows:

1 Minute
5 Minutes
15 Minutes
30 Minutes
1 Hour

The history uses bounded storage so the monitoring system itself cannot grow indefinitely.


📸 Memory Snapshots

Create a snapshot using:

/ramx snapshot

Snapshots can contain:

Snapshots are stored inside:

plugins/RamOptimiserX/snapshots/

📋 Detailed Memory Reports

Generate a complete server memory report:

/ramx report

Example:

RamOptimiserX Memory Report
────────────────────────────

Heap
Used:       3.10 GB
Committed:  4.00 GB
Maximum:    8.00 GB
Usage:      38.7%

GC
Collections: 124
GC Time:     4.2s

Pressure:
NORMAL

TPS:
19.97

MSPT:
28

Optimization:
ACTIVE

🚨 Emergency Memory Mode

When the server reaches critical memory pressure, RamOptimiserX can enter:

EMERGENCY MEMORY MODE

It can:

It will NOT:

❌ Delete worlds ❌ Delete chunks ❌ Delete player data ❌ Delete inventories ❌ Kill plugins ❌ Randomly remove mobs ❌ Randomly remove farms ❌ Force unlimited garbage collection


🌍 Chunk Memory Monitoring

RamOptimiserX can monitor:

Important

High RAM usage does not automatically mean chunks should be unloaded.

The plugin avoids blindly unloading chunks required by:


👾 Entity Memory Monitoring

Monitor entity growth and density.

Examples:

If unusual growth is detected, RamOptimiserX can notify administrators.

It does not use random entity deletion as a fake RAM optimization method.


📊 Server Performance Correlation

RamOptimiserX can correlate memory pressure with:

Example:

Memory:
78% → 87% → 94%

GC:
Increasing

MSPT:
30 → 55 → 90

Result:
CRITICAL MEMORY PRESSURE

This provides a more useful picture than looking at RAM percentage alone.


⚡ Manual Optimization

Run:

/ramx optimize now

RamOptimiserX performs safe optimization of resources under its control.

After optimization it reports actual measurements.

Example:

Before:
Used Heap: 4.21 GB

Internal cleanup:
142 MB of plugin-owned data released

After:
Used Heap: 4.08 GB

Actual JVM memory reclamation remains dependent on the JVM's garbage collector.


🛡️ Gameplay Safety

RamOptimiserX is designed to optimize memory without breaking normal Minecraft gameplay.

It does NOT optimize RAM by blindly deleting:

Memory management is resource-based, not destructive gameplay manipulation.


🎮 Commands

/ramx
/ramx status
/ramx optimize
/ramx optimize now
/ramx memory
/ramx gc
/ramx gcinfo
/ramx snapshot
/ramx snapshots
/ramx report
/ramx plugins
/ramx history
/ramx reload
/ramx debug
/ramx version

Alias:

/ramoptimiserx

🔐 Permissions

ramoptimiserx.admin
ramoptimiserx.status
ramoptimiserx.optimize
ramoptimiserx.snapshot
ramoptimiserx.report
ramoptimiserx.reload
ramoptimiserx.debug

🌐 Paper & Folia

RamOptimiserX is designed for:

Paper

Minecraft 1.21.x → 26.2

Folia

Minecraft 1.21.x → 26.2

The plugin uses platform-aware scheduling and respects Folia's regionized threading architecture.


⚡ Lightweight Architecture

RamOptimiserX is designed to have minimal overhead.

It avoids:

Instead it uses:


🔧 Configuration

Everything is configurable through:

plugins/RamOptimiserX/config.yml

You can configure:


🎯 Design Philosophy

MONITOR
   ↓
ANALYZE
   ↓
IDENTIFY PRESSURE
   ↓
CLEAN SAFE RESOURCES
   ↓
MEASURE AGAIN
   ↓
ADAPT

RamOptimiserX does not blindly change server behavior.

It attempts to identify actual memory pressure first, then applies the safest available optimization.


⚠️ Important

RamOptimiserX cannot magically make a server use less RAM than the JVM requires.

Actual memory usage depends on:

For best results, use RamOptimiserX together with a properly configured JVM and optimized Paper/Folia server configuration.

Always maintain regular backups.


📦 Compatibility

Minecraft: 1.21.x → 26.2

Platforms:

Plugin: RamOptimiserX

Author: Craftury

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more