I'm was trying to change the memory cap on my server by adding " java -Xmx1024M -Xms512M -cp Minecraft.jar net.minecraft.LauncherFrame"" to a shortcuts target path, but when I launch the server, 40MB still appears as 49% of its allocated memory... =/
Also, I can't find find a way to turn my Java into a 64-bit Java... Task manager says it's a 32-bit app =/
Ty in advance
EDIT: Solved it, the new problem is, I need to run the command prompt as an admin, but when I do the server app doesn't launch...
is that a typo or did you rename your minecraft_server.jar to minecraft.jar? for 64 bit java to run automatically you have to put the absolute path of your 64 bit version of java. so it would be:
"c:\Program Files\Java\jre6\bin\java.exe" -Xms512M -Xmx1024M -jar minecraft_server.jar
Thanks for the reply and sorry for the response delay (Time zone issue)
And yes, I simplified the server executable's name in order to avoid character issues/typo's.
Since I put my server directory in a subfolder of my 86x program files folder, I NEED to run it as an admin in order not to get a privilege error when launching the *.bat-file... =/ When I don't, it manages to find the *.jar-file and launch the server (though unusable), when I launch the *.bat-file as an administrator, it does not.
I just added the line you posted above and atm my batch-file looks like this:
cd C:\Program Files (x86)\Minecraft\Minecraft server
java -Xmx1024M -Xms1024M -jar server.jar
I just read a post about someone else using 64-bit Java and he said he had a sound related bug forcing him to replace certain files, is this going to happen to me as well? Haven't noticed anything strange about the sound yet so far... Are there actually any advantages to using 64-bit Java apart from a higher max RAM limit?
And now a very noobish question... Well, more newbish than noobish, but.... How do I update the server? Manually redownload the *.exe AND *.jar every time an update gets released?
as far as i know there really is not other benefit to 64 bit java than being able to allocate more memory. for now the only way to update the server is to manually replace the minecraft_server.jar or exe unless you are using a wrapper or mod that does this for you.
I wouldnt let it automatically update though due to the fact that first releases are usually buggy and if you are running mods it breaks them almost every time...
then again thats what we are here for is to report bugs...