Minecraft Blogs / Tutorial

Allocating More Memory to Minecraft

  • 5,260 views, 9 today
  • 4
  • 3
  • 14
AngryCupcake274's Avatar AngryCupcake274
Level 21 : Expert Cake
6
To allocate more memory to Minecraft, do the following:

Open the Minecraft launcher
Click on the "Edit Profile" button
Where it says "JVM Arguments" (at the bottom) type in:
"-Xmx[amount of memory in GB]G -Xms[same amount of memory in GB]G"

Simplified:
"-Xmx4G -Xms4G" = 4GB of memory allocated to Minecraft
This works for all GB amounts, just don't go too high.

Also, you can put:
"-Xmx2048M -Xms2048M" = 2GB of memory for Minecraft
Here are some common MB to GB amounts:

1G = 1024M
2G = 2048M
3G = 3072M
4G = 4096M
5G = 5120M
6G = 6144M
7G = 7168M
8G = 8192M

274G = 280576M
Tags

1 Update Logs

Update #1 : by AngryCupcake274 03/16/2014 10:11:12 amMar 16th, 2014

Had wrong JVM args.  Fixed now.

Create an account or sign in to comment.

1
03/16/2014 4:10 pm
Level 5 : Apprentice Warrior
JinxBM
JinxBM's Avatar
Before doing this, though, check how much RAM you have by (in windows) pressing the start button, right clicking computer, and selecting properties. Where it says "Installed memory: (ram)" is where you'll find the max amount of ram you can put on minecraft. (I suggest if you want to set your mc ram as high as possible, set it as your max ram - 1 GB, just to be safe)

very informative, diamond/fav/sub :)
1
03/18/2014 10:25 am
Level 21 : Expert Cake
AngryCupcake274
AngryCupcake274's Avatar
Thanks for the diamond, favorite, and sub!  Also, you can also right click your start menu bar, click "Task Manager", then look at the available memory.  Then take away one or two GB, and you should be fine.
1
03/16/2014 11:02 am
Level 30 : Artisan Warrior
BrookieYT
BrookieYT's Avatar
doesnt allow me :(
1
03/18/2014 10:23 am
Level 21 : Expert Cake
AngryCupcake274
AngryCupcake274's Avatar
If you have to, try allowing more virtual memory to Windows.  (If you use Windows)  Then try to add money to Minecraft.
1
03/18/2014 12:36 pm
Level 30 : Artisan Warrior
BrookieYT
BrookieYT's Avatar
How do I add money to Minecraft O_o?
1
03/20/2014 9:00 am
Level 21 : Expert Cake
AngryCupcake274
AngryCupcake274's Avatar
Money....?  Explain.
1
03/20/2014 10:24 am
Level 30 : Artisan Warrior
BrookieYT
BrookieYT's Avatar
If you mean premium. I already have that.
1
03/24/2014 11:43 pm
Level 21 : Expert Cake
AngryCupcake274
AngryCupcake274's Avatar
Premium Minecraft or Windows?
1
03/04/2014 10:24 pm
Level 40 : Master Enderdragon
TheNillaCrafters
TheNillaCrafters's Avatar
I literally just watched a video on this...
Still as helpful as ever :D
Diamond.

EDIT :
don't mean to hi-jack your blog, but another way to add RAM is go to control panel > programs > Java Runtime > Java > View > Runtime parameters and add -XmX (w/e amount but must be in MBs)
1
03/05/2014 7:46 am
Level 21 : Expert Cake
AngryCupcake274
AngryCupcake274's Avatar
Thanks for the diamond!

And your way is a great way to allocate more memory to a Minecraft server.  I've seen so many questions on how to do that.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome