So I need to add more ram to my 40 mod forge server in the next week and a bit before it's up. The code i'm trying to use is this-
java -Xmx2G -Xms2G -jar forge-1.7.10-10.13.2.1230-universal.jar nogui
I make a .bat file and name it run, but I always get something like"loading wrapped minecraft" and then no more text appears. I have 12 GB RAM, and allocated 5 GB to my client, which has around 50 mods because of a lot of client mods, so allocating 2GB shouldn't be a problem. I'm running Windows 8.1, with an Intel i74700HQ, and Nvidia GTX 765M.
did you make sure the bat file is in the same folder as the jar file, and the jar file is the correct name?
personaly i rename the forge jar to mcforge.jar so the bat file is more simple
other than that sounds like a windows permssion error?? try running as admin
add a PAUSE line to your bat and use Right click select all in the cmd prompt to highlight everything in the cmd prompt then ctrl-V it into a spoiler on this form
C:\Users\jake\Desktop\mc server w grant>java -Xmx2G -Xms2G -forge-1.7.10-10.13.4.1566-1.7.10-universal
Unrecognized option: -forge-1.7.10-10.13.4.1566-1.7.10-universal
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
java -Xmx2G -Xms2G -jar forge-1.7.10-10.13.2.1230-universal.jar nogui
I make a .bat file and name it run, but I always get something like"loading wrapped minecraft" and then no more text appears. I have 12 GB RAM, and allocated 5 GB to my client, which has around 50 mods because of a lot of client mods, so allocating 2GB shouldn't be a problem. I'm running Windows 8.1, with an Intel i74700HQ, and Nvidia GTX 765M.
PAUSE
If you want a quicker reply from me then be sure to hit the
Reply button.
I tried that, doesn't make a difference.
did you make sure the bat file is in the same folder as the jar file, and the jar file is the correct name?
personaly i rename the forge jar to mcforge.jar so the bat file is more simple
other than that sounds like a windows permssion error?? try running as admin
add a PAUSE line to your bat and use Right click select all in the cmd prompt to highlight everything in the cmd prompt then ctrl-V it into a spoiler on this form
-An old modded MC forge server maintainer.
I actually fixed it, you start the server with the batch file. Just make sure you are using the latest version of Forge.
C:\Users\jake\Desktop\mc server w grant>java -Xmx2G -Xms2G -forge-1.7.10-10.13.4.1566-1.7.10-universal
Unrecognized option: -forge-1.7.10-10.13.4.1566-1.7.10-universal
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.