Hello. I have a problem with my server i try to start the server to 2048M(2GB RAM) but can't.. When i try to start it to a 1024(1gb ram) it works perfect.. My computer is with 4gb ram please help me... When start the server with more than 1 gb in console see:
Good news is, you have a 64bit version of Windows. You just need 64bit Java. You can download it from here: http://javadl.sun.com/webapps/download/AutoDL?BundleId=63692 Once installed. In the batch file you are using to start your server, make sure you point to %ProgramFiles% and not %ProgramFiles(x86)%.
Code: @ECHO OFF SET BINDIR=%~dp0 CD /D "%BINDIR%" "%ProgramFiles(x86)%\Java\jre7\bin\java.exe" -Xmx2048M -Xms2048M -jar craftbukkit.jar PAUSE
Change %ProgramFiles(x86)% to just %ProgramFiles%. %ProgramFiles(x86)% points to C:\Program Files (x86). This is the directory for 32 bit programs. %ProgramFiles% points to C:\Program Files. This is where 64 bit programs are located.