Gamer server RAM - "Unable to run virtual Java machine"

Ugarte

New Member
I've tried hosting a server for an indie computer game called Minecraft using the following .jar file
http://minecraft.net/download/minecraft_server.jar?v=1284392596463
and while it works, I've been unable to allocate more than 1 gig of memory to the program.

Running the .jar file by itself leaves a very small amount of memory, which is tracked on the server window as "Memory use: # mb (% free)

The support forum for the game suggests using a .bat file with the following line:
"C:\Program Files (x86)\Java\jre6\bin\javaw.exe" -Xmx1024M -Xms1024M -jar minecraft_server.jar

This does increase the amount of memory, and while I should be able to increase the "1024" values to use even more, this is where I run into problems. Using "2048" or any other value in this .bat line produces an error stating:
"Unable to run virtual Java machine"

I've asked about this on the game's forum, and the only response I've gotten was from other Vista 64 bit users that have the same problem and are unable to solve it. Any thoughts?
 
Top