hi im real new to minecraft started playing 3 days ago and started my own server with 2 friends today, i would like to allow my server to use more ram. im currently using the minecraft server.exe version, i have 8 gigs of ram total, windows 7 64 bit. I couldn't really find a tutorial on how to do it so it would be awesome if someone could point me in the right direction.
also im having a problem when i change the pvp to false with the properties file it doesnt change?
Increasing the amount of RAM allocated to the Minecraft server
If you would like to start your server with more RAM, you will need to create a Windows batch file and run your server that way. Don't worry, it's easier than it sounds.
Open up Notepad (not Wordpad) to create a text document with no formatting (italics, boldface, etc.).
Identify your Windows OS type (32-bit or 64-bit), which may be done through the Control Panel. Also, identify which version of Java you are running—32 bit or 64 bit.
Based on your OS and Java types...
If Windows is 32-bit or Windows is 64-bit with 64-bit Java, copy this into your document (on a single line and remember to include both the " in sentence) (adjust the following line for Java 6 if used): "C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx2G -Xms2G -jar "Minecraft_Server.exe"
If you are, for some reason, running 32-bit Java on a 64-bit system, upgrade Java. Also, if you have installed Java to a different directory or changed the name of your Minecraft server .exe file, see below.
If you do have 32-bit Java on a 64-bit system, Java.com recognizes Java by browser, and some browsers are 32-bit, so downloading both 32-bit Java and 64-bit Java may be needed to run everything correctly
So what does all of this mean? The executable command ("C:\Program Files\Java\jre6\bin\javaw.exe") is the file path to the location of your most current javaw.exe file. If Java updates to Java 7, you will need to change 'jre6' to 'jre7'. If you installed Java to a different location, you will have to locate it and paste that file path in instead. The next part (-Xmx2G -Xms2G) is your RAM allocation, in gigabytes (GB). By default, your server runs with about 100 MB of RAM, which is very little. Most people will change their server to run on 1 GB of RAM; 2 GB of RAM is also common. As for the -jar, this indicates that Minecraft_Server.exe is a Java archive.
Lastly in the executable command is the name of our .exe file (Minecraft_Server.exe). Typically, it is named Minecraft_Server.exe. Upper and lower case does matter. Rename Minecraft_Server.exe to whatever you named your file. Then click File->Save As... and for the file name call it run.bat, and make sure you select *.* All File Types from the drop-down arrow (Note: If you do not see *.* All File Types as a file type, you must put run.bat in quotes. "run.bat"). Then save it in the same location your server is saved, and double click your run.bat file. If all goes well, you will notice that you will have much more RAM available on your server!
If Windows does not recognize the filetype (You are being prompted to select a program to open it with), it may be because Minecraft_Server is missing the .exe extension. This can be fixed by renaming the Minecraft_Server file to Minecraft_Server.exe. If it worked, the icon should now be the Minecraft symbol.
If this does not work, you will have to go into a command window by opening Run, typing cmd and pressing enter. Once there you need to navigate to the folder you have created.
To do this:
Ensure you are in the proper drive (usually C drive). Type C: and then hit enter to access the c drive
Now you need to call the directory (open the folder). Type cd \"folder name" then hit enter. Make sure to include the quotation
Ensure you are in the proper directory. Type dir and command will generate a list of contents of the folder, you should see minecraft_server there.
Rename Minecraft. Type rename minecraft_server minecraft_server.exe then hit enter. This should add the .exe extension to the executable and it should now operate correctly