Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

How Do I Allocate More RAM for My Minecraft Server?


  • Please log in to reply
7 replies to this topic

#1

CampinKiller

Posted 18 June 2012 - 12:47 AM

I've got a PC (Windows 7), but I can't figure out how to change the RAM for my server.

Register or log in to remove.

#2

LimBooY
    LimBooY

    Gold Miner

  • Curse Premium
  • Curse Premium
  • 393 posts

Posted 18 June 2012 - 02:32 AM

U will have to get a better Hosting or buy a new router
Posted Image

#3

Str8tUpSkillz
  • Location: Canada
  • Minecraft: Str8tUpSkillz

Posted 18 June 2012 - 02:59 AM

go to your task manager, under proccesses tab look for java.exe, right click it and then set the priority to a higher level then it is currently at. At least i think that gives it more ram.

#4

Str8tUpSkillz
  • Location: Canada
  • Minecraft: Str8tUpSkillz

Posted 18 June 2012 - 03:06 AM

Take a look at this forum i just found it explains it well.
http://www.minecraft...o-java-windows/

#5

Auroraah
    Auroraah

    Tree Puncher

  • Members
  • 17 posts
  • Location: UK
  • Minecraft: Auroraah

Posted 18 June 2012 - 12:52 PM

View PostStr8tUpSkillz, on 18 June 2012 - 02:59 AM, said:

go to your task manager, under proccesses tab look for java.exe, right click it and then set the priority to a higher level then it is currently at. At least i think that gives it more ram.
This doesn't give it more RAM, only more processing power.
You can only allocate a minecraft server more RAM if you use a .bat file created in notepad to run the server from a .jar file.

It contains a code like this:

@ECHO OFF
SET BINDIR=%~dp0
CD /D "%BINDIR%"
"%ProgramFiles%\Java\jre7\bin\java.exe" -Xmx1024M -Xms1024M -jar craftbukkit.jar
PAUSE

where 'Xmx1024m - Xms1024m' equals the amount of RAM in megabytes used.

#6

Monts
    Monts

    Carpenter

  • Members
  • 62 posts
  • Minecraft: Tronty

Posted 18 June 2012 - 03:44 PM

Google "Bukkit Gui" it sets it all up for you and works really well. Otherwise there's the Curse one.

#7

CampinKiller

Posted 20 June 2012 - 08:33 PM

Alright, thanks

#8

prt0100
    prt0100

    Iron Miner

  • Members
  • 265 posts

Posted 20 June 2012 - 11:26 PM

You can allocate more memory to Java by expanding the parameters. This will also eliminate most world holes, as well.