Hey guys, I was looking for help about -xms and -xmx settings when starting a server but I couldn't find anything... Things lost long time ago since hey0. Anyway, I just want to know which one does what, because I just updated my server with better RAM and I want to know how to add more to the server
Just use this launcher and replace the number after -Xmx with the amount of ram you want to have. Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar PAUSE
I got everything set up. I just wanted to know which was the RAM setting. I use a dedicated Ubuntu server. Thanks alot!
-Xms is the start value of your Java heap size. I suggest leaving it out and replacing it with -Xincgc instead. -Xmx is the max value of your Java heap size. You want to make sure this is less than your overall system RAM.
Changed to -Xingcgc and put -xmx1536. Let's see... Seems the server started... Working great! Thanks!!!