Hello, my friend is trying to start a server to play with me. When we change the amount of RAM the server can use to 16, even though his computer has much more than that, Direwolf 20 refuses to use more than 3000 megabytes. We are using the latest 64-bit Java. No matter what we do or what argument we put in, even though we have managed to let Direwolf 20 use more cores, it will not use more RAM. The problem is that the server is deadlocking and crashing because it needs more RAM. If anyone could help, that would be great.
His server has 2 Intel Xeon e5645 in it, 32 gigabytes of DDR3 RAM. The server name is HP Proliant DL380 G7 Server.
Here's what the config has.
"@if NOT "%FTB_VERBOSE%"=="yes" (
if NOT EXIST %JARFILE% (
if NOT EXIST libraries\%LAUNCHWRAPPER% (
if exist autostart.stamp (
del /f /q autostart.stamp > nul 2>&1
echo If you want to completely stop the server process now, press Ctrl+C before the time is up!
for /l %%i in (5,-1,1) do (
echo Restarting server in %%i
choice /t 1 /d y > nul
echo Starting server now
java -server -Xmx%MAX_RAM% %JAVA_PARAMETERS% -jar %FORGEJAR% nogui
echo Server process finished
The other is
"rem Do not touch
rem can be changed by user
set JAVA_PARAMETERS=-XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=12 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10"
Could anyone help please? Thanks. If this is the wrong place or anything, sorry.