How do I add ram to my server I have search every where and cant figure it out ? Could someone point me in the right direction? I have tried editing the .bat but that didn't work.
You mean like that your system got more RAM? Then buy some RAM and build it into your server. When editing the .bat file you can only assign more or less RAM to your server (from the amount of RAM which is allready built into the server)
Well first you'd need to make sure you are using the 64bit Java, for this (I assume you are using Windows since you said something about a bat file) you'd need to open up a command prompt (Start -> Run -> cmd) and enter "java -version". If there is something written like x64 or 64bit somewhere then you have the needed version, otherwise you'd need to uninstall java and then install the 64bit version. After that you'd need to edit the bat file which starts your server, and alter the "-Xmx" parameter for the maximum java heap size (for 5GB for example type something like "-Xmx5G") and if you want to you could also alter the "-Xms" parameter for the minimum java heap size (for 1GB for example type something like "-Xms1G"). If that didn't help, please tell us more specifically what you are trying to do and what you did allready try and what happened when you tried.
This is what im using. @echo off "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1G -Xmx5G -jar craftbukkit.jar pause This is what I get . http://snpr.cm/g9vhsP.png Do I have it messed up? Doing it completely wrong ?
This means that you are using the 32bit version of java which can only allocate up to 1.5GB or something like that. To get access to more RAM you need the 64bit version, so uninstall yours and download and install the 64bit Version from Oracle. But remember you then need to edit your bat file too since then its not "%ProgramFiles(x86)%\Java\..." anymore, but "%ProgramFiles%\Java\..." instead.