My logs read : 2011-01-19 22:15:56 [INFO] Starting minecraft server version Beta 1.2_01 2011-01-19 22:15:56 [WARNING] **** NOT ENOUGH RAM! 2011-01-19 22:15:56 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar" 2011-01-19 22:15:56 [INFO] Loading properties 2011-01-19 22:15:56 [INFO] Starting Minecraft server on *:25565 2011-01-19 22:15:56 [WARNING] **** FAILED TO BIND TO PORT! 2011-01-19 22:15:56 [WARNING] The exception was: java.net.BindException: Address already in use: JVM_Bind 2011-01-19 22:15:56 [WARNING] Perhaps a server is already running on that port? Whenever I try to start it . I use 4gb of Ram (@echo off "C:\Program Files\Java\jre6\bin\java.exe" -Xms4096M -Xmx4096M -jar craftbukkit.jar I use this) Any help?
Ignore the ram, mine does that to me all the time. It just isn't communicating with java properly, at the initial start. I've had it say that, only use 134 megs of ram, then set off TNT, and have it go to an upwards of 1 gig. Don't worry about it.
I use the same command "C:\Program Files\Java\jre6\bin\java.exe" -Xms4096M -Xmx4096M -jar craftbukkit.jar" I only have 6 gigs of ram and it works perfectly fine for me, I see your using 64 bit java same as me? 32 bit java can only use a max of 1.5 gigs of ram, whereas 64 allows for more.
Sometimes Java binds to the port and won't let go on Windows. Reboot your PC and try again. I still maintain you've allocated too much RAM to your java process for the other error.
i noticed this ONLY if i use the -Xincgc flag which is gay as i KNOW i have enough ram spare (it's shown in task manager) (64-bit java)
It must be a co-incidence. I've never seen that myself running that flag, and most people are using the old way (-Xms) when I've seen them get that error.
I have worked this out now after some random tests and me messing around. if your setting the ram it seems that if there is a small amount of memory left it will ditch the idea and show NOT ENOUGH RAM, so it seems there is a little fail safe so you dont use up all your ram and give the rest none, also do not and try and set say 4gb when you only have 4gb of ram, it will not work This though is with the Xincgc flag. i havent had any problems with the Xms and Xmx flags.