Problem Unleashed 1.1.4 Server, Memory leaks

  • 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

FangzWuff

New Member
Jul 29, 2019
46
0
0
Having a problem with my FTB Unleashed 1.1.4 server atm.

The issue here being that it start at about 1.5 gb of memory use but eventualy takes up all it's allowed memory up too it's max 8 gb.

This going at a varrying rate of 1-4gb a day, forcing me too do manual restarts eatch night, it's getting kinda annoying.
and was hoping maybe someone got any tips, you can see the server log mentioning world leaks a few tousand times in this log.

log file too large for upload
https://www.dropbox.com/s/rq87pasugl1q4qi/FML serverlog.txt
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
A few questions:

Are you using Mystcraft? If so, how many worlds are there?
Are you using MCPC+?

Either way, try putting a chunk loader in each separate world and see if that helps. There are a lot of world unloaded comments in the log preceding a lot of the messages about leaking.
 

FangzWuff

New Member
Jul 29, 2019
46
0
0
Currently there is only one mystcraft dimension as I have deleted all useless ones eatch night while restarting anyways.
Not sure what MCPC+ is, so I'l assume I dont have it, tried googling it but I havent added that atlest :p

A loader in every world? wont that cause lagg and more memory use? there is a dim20, I dunno what that is or how too get/put a loader there.
 

Staxed

New Member
Jul 29, 2019
1,019
-2
0
Currently there is only one mystcraft dimension as I have deleted all useless ones eatch night while restarting anyways.
Not sure what MCPC+ is, so I'l assume I dont have it, tried googling it but I havent added that atlest :p

A loader in every world? wont that cause lagg and more memory use? there is a dim20, I dunno what that is or how too get/put a loader there.


dim20 is the Promised Land, a world added by Natura.

Adding a chunk loader set to 1 chunk in every world won't add very much lag/memory use at all. You would have to add about 400 chunk loaders set to one chunk to equal 1 person (1 person loads about 400 chunks). So, it's not really an issue and if the worlds unloading are what is causing the issue it would fix it.

Also, MCPC+ is a server jar that works with ftb and allows you to use bukkit plugins as well, it also optimizes some stuff.[DOUBLEPOST=1380896990][/DOUBLEPOST]oh, and for the promised land, you can actually disable it in the Natura config if you want to.
 

FangzWuff

New Member
Jul 29, 2019
46
0
0
I will proably try that, atlest the chunk loaders, I guess maybe it will remove some of the zoning delay bethween dimensions too if it's already loaded, that be nice anyways.

but just now it suddenly stoped giving any errors and memory have stayed under 1.7, I updated the JVM arguments for the launch file as there was a update in here
http://forum.feed-the-beast.com/threads/jvm-arguments-for-modded-minecraft-updated-9-22-13.28994/that I had not applied too mine yet, dunno if thats what fixed it or if just random and will return or not. gonna try it for a day then add the loaders and try another and see what happens
 
  • Like
Reactions: Eyamaz

oppositeZERO

New Member
Jul 29, 2019
64
0
0
As far as I know regarding the way java works, it will not use garbage collection unless the ram is actually needed, so it will just keep using the available memory until there is none left, at which point it will then free up memory for whatever needs it. Specifically the case if you set the Xmx and XmS at the same value.

If you use a plugin such as essentials it can show you how much ram is actually used out of the allocated ram.

Example if I run top on my physical server, it shows java is using 7.9GB of RAM, 90.4% utilized, if i run /mem on my minecraft server it tells me this

Maximum Memory 6,988 MB
Allocated Memory 6,998 MB
Free Memory 4,915 MB

From that you can see, that although the system see's it using 7.9GB it's actually only using 2 or so GB, they rest is essentially just reserved for minecraft or anything else that needs it.