Recent Discussions
Fabric performance mod server RAM issues
Unanswered
West African Crocodile posted this in #questions
24 messages
0 views
West African CrocodileOP
Howdy, I'm running a 6gb server for some friends and noticed that it had gone from idling at ~1gb ram used to idling at 1.3gb ram used at launch. this concerned me so I started messing with java flags and despite resetting everything it's now launching at 1.6gb ram used and steadily creeping upwards while idling. worse, when I logged in to try to diagnose the issue, it shot from nearly 2gb ram used at idle to 4.6gb used at 10 render distance with one player online.
I'd asked the hosting company server about ram usage lowering suggestions before trying to diagnose it myself and got told "if it's not lagging, it's not a problem" rolls eyes so now I come to ask the people that know things (and possibly drink, who can say /silly).
SERVER DETAILS
MC 1.21.6
Fabric 0.16.14
Extra Java flags:
-XX:+UseG1GC -Dsun.rmi.dgc.server.gcinterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
MODS:
Appleskin
Architectuary
c2me
cloth api
ferritecore
getittogetherdrops
ledger
lithium
clumps
petprotect
rightclickharvest
scalablelux
servercore
server-side veinmine
skip server check
krypton
servercore
spark
DATAPACKS:
Basically 90% of vanillatweaks
faster happy ghasts
a couple custom crafting recipes (tall grass, tall ferns, water bucket aged copper)
Latest spark heap summary:
https://spark.lucko.me/r9QL9rjtk5
I'd asked the hosting company server about ram usage lowering suggestions before trying to diagnose it myself and got told "if it's not lagging, it's not a problem" rolls eyes so now I come to ask the people that know things (and possibly drink, who can say /silly).
SERVER DETAILS
MC 1.21.6
Fabric 0.16.14
Extra Java flags:
-XX:+UseG1GC -Dsun.rmi.dgc.server.gcinterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M
MODS:
Appleskin
Architectuary
c2me
cloth api
ferritecore
getittogetherdrops
ledger
lithium
clumps
petprotect
rightclickharvest
scalablelux
servercore
server-side veinmine
skip server check
krypton
servercore
spark
DATAPACKS:
Basically 90% of vanillatweaks
faster happy ghasts
a couple custom crafting recipes (tall grass, tall ferns, water bucket aged copper)
Latest spark heap summary:
https://spark.lucko.me/r9QL9rjtk5
West African CrocodileOP
oh uh, how do I get it to work
It looks like only 300MBs of the 5GB that's been allocated is being used
image.png
West African CrocodileOP
that's what spark says but the console says it's up to 4+gb
which is why I'm so confused
What do you exactly mean by "console says"?
West African CrocodileOP
my server is through Kinetic Hosting, I'm looking at the server info through their panel
If you mean that your server management panel shows 4+GB usage it's normal
West African CrocodileOP
it's not normal though this is new as of today?
the server's been running for half a year and the only other time it said it was using 4gb when 1 player was on was when it then crashed OOM and made me switch it to fabric with the performance mods
If it OOMs, you probably need to lower the amount of RAM you allocate to the server
Because Java will immediately take all that RAM even though it's not using it
The spark report says that Java was using only 300MBs, that means the amount shown on the management panel is what's allocated to Java. It doesn't mean the whole thing is used.
It's just reserved
West African CrocodileOP
oh, okay
would that be a java flag change then?
What would
West African CrocodileOP
reducing the ram allocation for java?
Yes, but if your current settings haven't caused an OOM, you should be fine
West African CrocodileOP
they haven't yet but I really want to get ahead of this and it's stressing me out that something's changed so drastically that even after I've logged off it's still at over 4gb used when it hasn't done this in ages
you should always trust spark about ram usage rather than the panel for the reason I mentioned above
West African CrocodileOP
alright :/ then I'll just keep an eye and report back if a problem arises
thank you!
Loading...
Loading...