Hi, I have been trying to get my modded minecaft server to run with more ram all day. I'm trying to do this because I'm making a modded server to run with the new Hatpack. Here are the steps I followed, https://www.reddit.com/...rors_here/. This all work's when running the server it just crashes and say not enough memory. I have followed multiply videos on what to do. When I use the run.bat file it comes up with an error. I will provide screen shots of the error. In the Run.bat file I have written 'java -Xmx2048M -Xms2048M -jar Minecraft_Server.jar nogui
PAUSE'
Allocating ram to a modded minecraft server?
That's an odd problem! There could be a few reasons why that error is coming up.
1 is that your computer may not have enough free memory to run the server. To check this, open Task Manager on Windows 7 and select Performance. There should be graphs to show how much RAM is being used by programs. If there's not enough free memory, either close open/running programs or restart your computer to clear out the RAM.
2 is that the.jar file could not be named properly. Check in the folder of your server to see which is the.jar file you would click to open the server. Then replace the 'Minecraft_Server.jar' with whatever the text is named on the original.jar file.
Hopefully one of these works!
Are you sure the folder isn't read only? First, go to the folder and try editing something. If it works, you're good.
Is the file named EXACTLY Minecraft_Server.jar? Try changing the name of the.jar file to minecraftserver.jar and change the run.bat document to: java -Xmx2048M -Xms2048M -jar minecraftserver.jar nogui
PAUSE
Do you have enough RAM (2gb in this case)? If not, try changing the allocated RAM.
Also, try deleting the JAR file you have and replacing it with a fresh one (this one might be corrupt.)
Lastly, the mods might be causing this, try running vanilla first and see if the problem persists.