"Could Not Reserve Enough Space for Object Heap"

  • 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
Status
Not open for further replies.

JGAm3r

New Member
Jul 29, 2019
1
0
0
Right, well, I recently downloaded the server stuff from the launcher and ran it. My .bat files wouldn't open, and I eventually solved it by creating two new Environment Variables (CLASSPATH and PATH). After this, my server ran but barely, and when I tried to increase the memory, the .bat opened and then instantly closed and I got this error message(after finally managing to catch it on a printscreen):
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

I Have ten gigs of RAM on my computer, I have Java 7 installed, and I have windows 7 64-bit. This is what my .bat reads currently: java -Xms1024M -Xmx1024M -XX: PermSize=128m -jar ftbserver.jar

I want to increase my server's RAM to three gigs: java -Xms3074M -Xmx3074M -XX: PermSize=128m -jar ftbserver.jar

However, increasing the dedicated RAM anywhere above one gig stops the server from running, and gives this error. Help?
 
Status
Not open for further replies.