Direwolf20 Refusing to Use More Than 3 Gigs of RAM

  • 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
D

defrag

Guest
Title Direwolf20 Refusing to Use More Than 3 Gigs of RAM

Launcher Type Server

Modpack Direwolf 20

Modpack version 1.12.2

Have you modified the pack? Yes

Link to log file https://paste.feed-the-beast.com/view/63c111be

Details of the issue The only added files were Ice and Fire, Animania, and their two dependencies. Even before we added them, the problem was present.

The server, no matter what we do, will not use more than 3 gigabytes of RAM. We are using an HP ProLiant DL380 G7 Server with dual Intel Xeon E5645s and 32 gigabytes of DDR3 ECC RAM.

The server is hanging and crashing due to a lack of RAM, but refuses to use more.

Attached in log files are the server settings.bat and ServerStart.bat. The server is using the latest 64-bit Java on the latest Windows 10 build.
 
Last edited by a moderator:

jikuja

legacy FTB Launcher developer
Launcher Developer
Global Moderator
Dec 17, 2013
1,134
111
99
Did you edit that script or someone else?
 

grandrolf

Global moderator
Team Member
Global Moderator
Trusted User
Aug 29, 2014
2,658
246
133
sweden
Restore settings.bat and ServerStart.bat from the downloaded zip-file.

Then open settings.bat and change only the line:
set MAX_RAM=2048M

example:
set MAX_RAM=4096M

for 16gb
set MAX_RAM=16384M

or
set MAX_RAM=16g

Save the file and try again.

If it still fails, post full log using paste.feed-the-beast.com ( /logs/latest.log)

And copy paste the result of running this line in a cmd window or powershell window:
java -version
(copy and paste the short result here, or take a screenshot and share)