Jump to content

Minecraft server use to much ram without player


Kristaps T

Recommended Posts

TCAdmin version: 2.0.175.0

Operation system: Ubuntu 20.04  LTS 64bit

SPECS: Hosted on OVH 4cores 8Gb ram VPS Server

Database: Mysql

 

Hello.  My MC server use to much ram without players and any plugins. on minecraft server i added allocate ram 2Gb max but server  after starting use much more ram and doesnt drop ram usage.

here is my commandline on starting server.

Spoiler

-Xmx2048M -Xms256M -jar spigot.jar nogui

and i try other command line

Spoiler

-Xmx2048M -Xms256M -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -jar minecraft_server.jar nogui

 

but doesnt change on ram usage all time use more then allocate.

and i whant know if this is normal on linux or not becose i try testing mc server on windows and use ram 20-30% from allocated max ram.

i added screen from TCAdmin control panel MC ram usage.

 

 

Untitled.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 20 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use