[Guide] How to Allocate More Memory for Java (Windows + Mac)

Discussion in 'General Minecraft Discussion' started by BobTheTomato9798, Jan 10, 2013.

  1. This guide will show you how to allocate more memory for Java, hopefully making your Minecraft run faster. For those that didn't know Minecraft runs on Java.

    Now for those people on Windows 8, Vista, and XP once you open up the control panel it should be that same steps for you. How to open up the control panel:

    Windows 8:
    1. With a mouse, right-click anywhere on the Start screen and then click All apps.

    2. On the Apps screen, swipe or scroll to the right and find the Windows System category.

    3. Press or click on the Control Panel icon under Windows System.

    4. Windows 8 will switch to the Desktop and open the Control Panel.

    Windows Vista:

    Windows XP:

    Now onto the guide!
    Step 1:
    Open the Control Panel:
    ScreenHunter_08 Jan. 10 11.34.jpg

    Step 2:
    Type 'Java' inside the 'Search Control Panel' box.
    ScreenHunter_03 Jan. 10 11.141.jpg

    Step 3:
    Click the Java icon that pops up.
    ScreenHunter_03 Jan. 10 11.14.jpg

    Step 4:
    Click the Java tab.
    ScreenHunter_05 Jan. 10 11.151.jpg

    Step 5:
    Click view...
    ScreenHunter_05 Jan. 10 11.15.jpg

    Step 6:
    Assure there is only ONE line in here, any more lines could cause issues.
    If you have multiple lines uninstall all versions of Java from your system and download Java JDK 7 from the following link. Make sure to get the x64 version if you have a 64-bit OS.
    ScreenHunter_06 Jan. 10 11.15.jpg

    Step 7:
    Change Runtime Parameters.
    Change it depending on how much RAM you have, it is recommend you use 256/512/768/1024/1536/2048.
    For 32-bit Operating Systems 768M is recommended.
    If you have 64-bit, or that doesn't work, continue to try the following
    As I said, this varies depending on how much System RAM you have.

    ScreenHunter_07 Jan. 10 11.15.jpg
    Now I don't own a Mac and I probably never will so I found this video to help:

    Comments, complaints, concerns?
  2. Great Guide :)
  3. Very nice guide, Thanks Bob ^_^
  4. It always seems to be... Ugh...
    Thank you!
  5. Just curious as to why you say allocate 'More memory' to java, yet you reduce it from 1024MB by default to 800MB
  6. Just an example, it is not what I have it set to as of this moment.
  7. I would suggest changing it to a number that is a binary factor - 256/512/768/1024/1536/2048 - Setting it to 800MB will cause errors.
  8. I always allocate ram using G instead of M after the amount, so its in gb and not mb. So instead of 2048m, you can do 2G.
  9. You could also do that.
  10. Doesn't show runtime parameters. Is it because I have Java 32-bit?
  11. It should show the runtime parameters. I am also running Wkndows 32bit and Java 32bit. Do you have the latest Java update?
  12. Yes.
  13. it didn't work for me, ion minecraft it still says that I only have 455MB where as I typed 2048MB into the Java thing, is it because i'm using Windows 7? I don't think that should matter but it's the only thing that I can think of, please help
  14. Mother of bumps...
  15. Stickied threads can be bumped.
  16. Not stickied?
  17. I'm pretty sure this was a sticky before...
  18. just go to sleep.