FTB Infinity Evolved server ram usage reach more than 9 GB

  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • 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
M

Motys

Guest
Title FTB Infinity Evolved server ram usage reach more than 9 GB

Launcher Type FTB Launcher

Modpack Infinity Evolved

Modpack version 2.60

Have you modified the pack? No

Link to log file http://paste.feed-the-beast.com/view/ad26e470

Details of the issue After reboot server RAM usage is about 7 GB. After running for couple of hours even if no one is connected it goes up to 9 GB. I know this is huge mode pack but isn't this ram usage kinda too high ?
 

jikuja

legacy FTB Launcher developer
Launcher Developer
Global Moderator
Dec 17, 2013
1,134
111
99
How much memory did you allocate for MC/java?
 
M

Motys

Guest
Server is set on VPS with dynamic ram allocation. On my PC im running MC with 4 gb ram allocated.
ServerStart.bat goes with :
:startserver
echo Starting server
java -server -Xms1024M -Xmx4096M -XXpermSize=256M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XXparallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10-1614.jar nogui
 
M

Motys

Guest
When im playing i also get a :
IOException: An existing connection was forcibly closed by the remote host
And i need to restart server manually.
 

grandrolf

Global moderator
Team Member
Global Moderator
Trusted User
Aug 29, 2014
2,658
246
133
sweden
Is the OS on the vps/vm aware of dynamic ram and is it able to scale up when needed? (that depends on vm and on host setup).

A way to check is to set min ram on the vm to 5 (4 for the mc-server and 1 for the os), and still have it at dynamic.

If the error stops, then there's a issue with your host/vm/dynamic memory settings.
 

jikuja

legacy FTB Launcher developer
Launcher Developer
Global Moderator
Dec 17, 2013
1,134
111
99
One of the most important information is missing: What tools provided that info about 9 GB memory usage? Is it VSZ/VIRT or something else?
 
M

Motys

Guest
So i set the ServerStar.bat and .sh to (guess that what grandrolf asked for) :
:startserver
echo Starting server
java -server -Xms4096M -Xmx4096M -XX:permSize=1024M -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:parallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar FTBServer-1.7.10-1614.jar nogui

Server started smothly - 3 GB usage, no issues. But then i had to restart it (backpacks weren't working), and issue returned : 7GB++ ram usage and IOException: An existing connection was forcibly closed by the remote host .

Tech Support told me that VPS is set on Linux and CPU/RAM usage of server are based on usage of Java process.
 

grandrolf

Global moderator
Team Member
Global Moderator
Trusted User
Aug 29, 2014
2,658
246
133
sweden
So i set the ServerStar.bat and .sh to (guess that what grandrolf asked for) :

Not really, I was talking about the vps/vm not what you have inside the vm.

Perhaps you should talk to the Tech support that you mention.