Problem Server leaking memory constantly.

  • 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

CourtArtanis

New Member
Jul 29, 2019
7
0
0
First, i'll link to this post here:
http://forum.feed-the-beast.com/threads/ftb-ultimate-server-leaking-memory-slowly.18916/

I'm having exactly the same issue, but thought i'd open a new thread.
My setup:
FTB Ultimate
nix VPS

Custom JVM parameters are in place, I'm not sure there is a way to further enhance Java's performance for me. JRE is up to date. The server is set to run with 2gb on startup.

When the server starts, it sits on about 50% RAM usage. The usage will slowly climb to 100% then crash and restart the server. It's very irritating as it does this when empty, or with players on the server.
I edited ChickenChunks to disable chunkcleanuip as that gave me leaky worlds. Disabling CC has stopped the world leaking errors appearing, but the memory issue persists.

I'm not sure if it's something in the world itself, a machine or particular setup in game as I am not that experienced with FTB yet....so people who are knowledgeable with leaky machine setups in game are welcome to join the server and give an opinion :)

There are so many threads on this issue, but i've found no suitable resolution so far.

Any advice appreciated
 

DZCreeper

New Member
Jul 29, 2019
1,469
0
1
Place a chunk loader in each world. Then try turning chunk cleanup back on.

Also, lets see your Java Parameters, some could be hindering rather then helping.
 

CourtArtanis

New Member
Jul 29, 2019
7
0
0
JVM params
Code:
-d64 -server -Xmx{MAX_MEMORY}M -Xms{START_MEMORY}M -XX: PermSize=128M -XX:MaxPermSize=256M -XX:+DisableExplicitGC -XX:{arallelGCThreads=2 -XX:+UseParNewGC -XX:+AggressiveOpts -jar "{JAR}" nogui

These noticeably improved the issue and slowed down crashes, so I doubt they are it. Feel free to check anyway
I'll try the chunk loader thing again,

Thanks
 

Greedseed

New Member
Jul 29, 2019
1,107
0
0
It reduces it a lot, there are some issues it brings but it will fix this big one. Try using MCPC+ L16 and see if it helps out to reduce the memory leak.