Jump to content

Help
Latest News Article

How to start mac servers with more RAM


3 replies to this topic

#1

Posted 22 February 2012 - 08:53 PM

I've seen many videos about starting mac servers with more RAM, most of them involve going to the terminal and pasting java -Xmx1024M -Xms1024M -jar minecraft_server.jar into it. This worked for a while but it began to lag again after a while. Is there a different way to get more RAM on a mac server? Thanks.

Register or log in to remove.

#2

Posted 22 February 2012 - 08:54 PM

View PostNightlock32, on 22 February 2012 - 08:53 PM, said:

I've seen many videos about starting mac servers with more RAM, most of them involve going to the terminal and pasting java -Xmx1024M -Xms1024M -jar minecraft_server.jar into it. This worked for a while but it began to lag again after a while. Is there a different way to get more RAM on a mac server? Thanks.
I think u have to replace 1024 with 2048(2 GB), to get more ram. Hope this works.

#3

Posted 22 February 2012 - 09:25 PM

View Postnormaldude8825, on 22 February 2012 - 08:54 PM, said:

I think u have to replace 1024 with 2048(2 GB), to get more ram. Hope this works.

Where do I change this?

#4

    rodabon

    Glowstone Miner

  • Members
  • 3210 posts

Posted 22 February 2012 - 11:50 PM

View PostNightlock32, on 22 February 2012 - 08:53 PM, said:

I've seen many videos about starting mac servers with more RAM, most of them involve going to the terminal and pasting java -Xmx1024M -Xms1024M -jar minecraft_server.jar into it. This worked for a while but it began to lag again after a while. Is there a different way to get more RAM on a mac server? Thanks.

Part of your original post bolded for emphasis.

So as the person suggested you would change this part to:
java -Xmx2048M -Xms2048M -jar minecraft_server.jar

However you need the have enough ram in your mac to devote that much to minecraft. If you have 4GB of ram then devoting 2GB to your minecraft server is feasible. You need to leave some ram for your system to use.
Re: 3D Minecraft - Anyone tried it?
by c0yote

I tried it with terrible results. I gave my wife my glasses for a second, a creeper showed up and now my wife is pregnant.
Stupid 3D..