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
I'm trying to add more memory to my Direwolf20 1.10 server. I'm changing the ram quantities in the settings.bat file. Is that the correct file for editing the memory allocations?
You should be editting the XMS and XMX numbers in whatever file you are using to call java, usually it's the same one you would hit to start up the server. Generally most modpacks come with a start.bat or start.sh but if your settings.bat file is the one starting java then yes the would be the correct file
set MIN_RAM=4096M
set MAX_RAM=8192M
set PERMGEN_SIZE=1024M
set JAVA_PARAMETERS=-XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XXarallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10
My thought was that the ServerStart.bat file is calling the settings.bat file for these values. However, changing them doesn't seem to affect the amount of memory java is using, when I look at my resource manager