1
RUN Help
Hello
I am looking to upgrade my ram. I am currently running my server off f my computer. This is my Run code...
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE
The server Works but i want to upgrade it to maybe 2 or 3 GB Ram (yes i have an 8 gb ram computer)
What would i change my code to for that to work?
Thanks everyone!
p.s I changed my craftbukkit to craftbukkit-1.1-R4...i dont know if i need to change that or not?
I am looking to upgrade my ram. I am currently running my server off f my computer. This is my Run code...
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE
The server Works but i want to upgrade it to maybe 2 or 3 GB Ram (yes i have an 8 gb ram computer)
What would i change my code to for that to work?
Thanks everyone!
p.s I changed my craftbukkit to craftbukkit-1.1-R4...i dont know if i need to change that or not?
4
it says
the system cannot find the path specified?
the system cannot find the path specified?
Thanks
My bad, the part where my post says "%ProgramFiles%\Java\jre7\bin\java.exe" make sure to change the "jre7" to "jre6", unless you updated to Java 7
You could do this:
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE
Just replace the 1024 with how many MB of ram you want java to reserve for the server.
BTW the jar name does not matter, you could name it anything you want as long as it matches the name in the startup.
Just make sure to post this kind of stuff in the Server Help section next time, because we might get yelled at
Peace
@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit-1.1-R1-SNAPSHOT.jar
PAUSE
Just replace the 1024 with how many MB of ram you want java to reserve for the server.
BTW the jar name does not matter, you could name it anything you want as long as it matches the name in the startup.
Just make sure to post this kind of stuff in the Server Help section next time, because we might get yelled at
Peace
