FTB Monster - Server Ram Usage Very High

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

PhishTV

New Member
Jul 29, 2019
25
0
0
Hi there,

I am a past server owner for FTB Unleashed and I decided to make the switch to Monster. I set up the server and enabled the mods I needed. Everything loaded properly and I just logged in quickly to see if ATG and NoP worked together fine and they did. I never built nor generated more then 1 chunk. However the RAM usage is through the roof. My old Unleashed server with 3 players near end game was around 800mb when no one was online and about 1200 when all 3 were online. This monster server is at 1327 right off the startup and only goes up once I log in. And that is with nothing on the server (I have yet to even destroy ONE block).

I have tried:
- restarting multiple times (I thought the initial world gen popped up usage and never went back down)
- disabling certain mods I won't need. (Only disabled 3, and I believe 170 are running)

If anyone has any tips to lower it or links they could share I would appreciate it.

Thanks in advance,
Phish

EDIT: I should probably add that I am using version 1.0.5 as I couldn't figure out where to get the .jar for 1.0.9 and that it is hosted through FragNet.
 
Last edited:

PhishTV

New Member
Jul 29, 2019
25
0
0
Still having the issue. Overtime the server will go back down to about 60% of 2gb however as soon as I am playing on it, it will bounce back up to 85% and if I move out of our chunk it stays around 93%.
 

Wagon153

New Member
Jul 29, 2019
3,148
-3
1
Monster has many more mods then Unleashed did. So it is expected to have more usage of the server. Thus the name "FTB Monster". I own a Monster server myself, and I always have high memory usage. However, my TPS never goes below 19. So unless you upgrade your server, that high memory usage is just gonna be something you have to live with.
 

PhishTV

New Member
Jul 29, 2019
25
0
0
Monster has many more mods then Unleashed did. So it is expected to have more usage of the server. Thus the name "FTB Monster". I own a Monster server myself, and I always have high memory usage. However, my TPS never goes below 19. So unless you upgrade your server, that high memory usage is just gonna be something you have to live with.
Sounds good, I however hope that near end game for only 2 people I won't need more than 2gb. I still find it very odd. Anyway thanks for the reply and as of now it is not noticeably affecting game play.
 

Diggerwolf

New Member
Jul 29, 2019
14
0
0
It also depends on how you load the server.

With a lot of GC collection (6 threads, etc), I could run my ultimate server with less than 300mb, however that isn't neccesarily good.

I have a lot of memory so I allocated a lot for it and make sure it uses it all right off the bat. So now my server starts out on 4Gb right away, the difference is that when you have more loaded in memory, it makes the server run smoother.

Anyway, like I said, with the right parameters, you can really cut down on memory usage. However, it doesn't neccesarily make the server run better!

Good rule of thumb. Unless your server crashes with out of memory errors, don't change it, imo. Fiddling with java parameters until it works for you is probably not a good idea. And one person's ideal parameter set up could be disastrous for your server, so probably not the best of ideas to mess with them.

You could try this in your batch file though:

(Assuming your CPU supports UseSSE=4, look it up to be sure. Otherwise leave that one out. I am also assuming from your post you dont wish to allocate more than 2Gb maximum.)

Code:
TITLE MINECRAFT SERVER
START "MINECRAFT SERVER" /ABOVENORMAL java -server -Xmx2G -Xms768m -Xmn384m -XX:MaxPermSize=256m -XX:UseSSE=4 -XX:ParallelGCThreads=2 -jar <<insert your jar name.jar>> nogui
 
Last edited:
  • Like
Reactions: PhishTV

PhishTV

New Member
Jul 29, 2019
25
0
0
It also depends on how you load the server.

With a lot of GC collection (6 threads, etc), I could run my ultimate server with less than 300mb, however that isn't neccesarily good.

I have a lot of memory so I allocated a lot for it and make sure it uses it all right off the bat. So now my server starts out on 4Gb right away, the difference is that when you have more loaded in memory, it makes the server run smoother.

Anyway, like I said, with the right parameters, you can really cut down on memory usage. However, it doesn't neccesarily make the server run better!

Good rule of thumb. Unless your server crashes with out of memory errors, don't change it, imo. Fiddling with java parameters until it works for you is probably not a good idea. And one person's ideal parameter set up could be disastrous for your server, so probably not the best of ideas to mess with them.

You could try this in your batch file though:

(Assuming your CPU supports UseSSE=4, look it up to be sure. Otherwise leave that one out. I am also assuming from your post you dont wish to allocate more than 2Gb maximum.)

Code:
TITLE MINECRAFT SERVER
START "MINECRAFT SERVER" /ABOVENORMAL java -server -Xmx2G -Xms768G -Xmn384m -XX:MaxPermSize=256m -XX:UseSSE=4 -XX:ParallelGCThreads=2 -jar <<insert your jar name.jar>> nogui
Thank you for the help. I will use this parameter if my current server ever gets to expensive and I decide to run it on my PC. However right now I am running it through FragNet.
 

PhishTV

New Member
Jul 29, 2019
25
0
0
You may also want to try these- http://forum.feed-the-beast.com/threads/jvm-arguments-for-modded-minecraft-updated-12-30-13.28994/

Side note, Monster has 179 mods, on 1.6.4 (not the best minecraft server version) I'm suppressed my monster server doesn't use more then 3GB of ram on boot however RAM is memory, not CPU power so it should not affect performance and should not cause lag.
It should not affect performance even if it is at 100%? It hit 100% RAM usage today.
 

danidas

New Member
Jul 29, 2019
499
0
0
Ram usage will not effect performance very much and will instead cause the server to crash if it runs out. As for memory usage it will often allocate more ram then it is really using, so if it say 100% it may not be using all of that.

Another option is to install MCPC+ on the server as that can sometimes help with memory usage but be warned it can cause a lot of issues with mods. Also it basically voids all tech support from FTB and a lot of the modders due to how it modifies forge.
 

PhishTV

New Member
Jul 29, 2019
25
0
0
Ram usage will not effect performance very much and will instead cause the server to crash if it runs out. As for memory usage it will often allocate more ram then it is really using, so if it say 100% it may not be using all of that.

Another option is to install MCPC+ on the server as that can sometimes help with memory usage but be warned it can cause a lot of issues with mods. Also it basically voids all tech support from FTB and a lot of the modders due to how it modifies forge.
Thanks for the tip. As of now it is running regularly from 80 to 100 % and sometimes sits at 100 without any performance issues as of yet. However I am waiting for it to crash :p.