Jump to content

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

[WIN7] How To Launch Minecraft With More RAM

ram windows launch bat batch screenshot

  • Please log in to reply
6 replies to this topic

#1

colemannugent

Posted 04 August 2012 - 06:11 AM

This tutorial will show you how to launch Minecraft with more RAM on Windows 7. What this does is increase the heap size of the Java Virtual Machine. With this way there is no batch files or editing run time variables.

1. Right click on the desktop. Select New Shortcut.
Posted Image
2. In the box type javaw -Xmx?G -jar "C:\?????\Minecraft.exe"
"-Xmx?G" is how many Gigabytes your Minecraft will launch with (ex. "-Xmx4G")
"C:\?????\Minecraft.exe" is the path to your Minecraft Launcher (In my Case its"C:\Users\Coleman\
Documents\Minecraft.exe")
Posted Image
3. Click Next.
4. In the box type a name for the shortcut (ex. "Minecraft")
Posted Image
5. Click Finish.
6. By default the shortcut will have the Java logo. To change this right click on the shortcut and select properties from the drop down.
Posted Image
Near the bottom will be a button labeled "Change Icon..." click this then
Posted Image
click the button labeled "Browse...". Navigate to where your "Minecraft.exe" is located. Select it then press "Open".
Posted Image
Click "OK" then click "Apply" then click "OK". The shortcut should now have the Minecraft logo.
7. To launch Minecraft simply double-click on the shortcut like you would do with any other program.

You may also use "-Xmx?m" to specify a heap size in Megabytes.(For common sizes see below.)
One Gigabyte: "-Xmx1024m"
Two Gigabytes: "-Xmx2048m"
Three Gigabytes: "-Xmx4096m"
Four Gigabytes: "-Xmx8192m"

*NOTE: Only users with 64 bit Windows will be able to use more than 4GB RAM. Unless your computer has more than 4 Gigabytes RAM do not allocate more than 2 Gigabytes.

Register or log in to remove.

#2

Veterok
    Veterok

    Out of the Water

  • Members
  • 9 posts

Posted 04 August 2012 - 04:26 PM

View Postcolemannugent, on 04 August 2012 - 06:11 AM, said:

You may also use "-Xmx?m" to specify a heap size in Megabytes.(For common sizes see below.)

Or size in Gigabytes:
One Gigabyte: "-Xmx1G"
Two Gigabytes: "-Xmx2G"
Three Gigabytes: "-Xmx3G"
Four Gigabytes: "-Xmx4G"

Eight Gigabytes: "-Xmx8G"

#3

Pugnation12

Posted 07 December 2012 - 10:15 PM

I used this method (and another of other methods including making a .bat file) and it will launch minecraft succesfully, and when I hit f3 it shows that I have indeed allocated the desired memory to minecraft, but for some reason I experience dramatic frame rate drops compared to vanilla Minecraft which runs fine on my computer.  Do you have any idea why this is the case?  (I've tried allocating more or less RAM and I know I'm not using more RAM than my system has.  Sometimes I'll try it with only 20% of the RAM my system has and I still experience frame rate drops).
Posted Image

#4

colemannugent

Posted 08 December 2012 - 11:57 PM

First a few questions:
How much RAM does your system have?
How much are you allocating?
Are you using any mods?

Sometimes if you allocate to much memory it will slow down but it shouldn't drop frames. One of the things you can try is to use the mod Optifine. This mod makes Minecraft run better by using your computers resources more efficiently.  Generally Minecraft allocates 512 MB of RAM, less than that may be unstable.

Also in your response please include your system specs. You can view you specs by going to the start menu, then searching for "Performance Information and Tools". You can either copy and paste them or take a screenshot.

Hope this helps

-Coleman



#5

marto64
    marto64

    Tree Puncher

  • Members
  • 25 posts

Posted 01 January 2013 - 01:04 PM

I tried this method but I get this error " Invalid or corrupt jarfile. C:\Users\Bill\AppData\Roaming\.minecraft\bin\minecraft.exe"

PLEACE HELP

I'm useing windows 7 with java 7 (64bit)

#6

RJ3100
    RJ3100

    Out of the Water

  • Members
  • 2 posts
  • Location: Australia
  • Minecraft: RJ3100
  • Xbox:RJ3100

Posted 26 February 2013 - 10:19 AM

View Postmarto64, on 01 January 2013 - 01:04 PM, said:

I tried this method but I get this error " Invalid or corrupt jarfile. C:\Users\Bill\AppData\Roaming\.minecraft\bin\minecraft.exe"

PLEACE HELP

I'm useing windows 7 with java 7 (64bit)
Your Minecraft.exe is in your .minecraft bin???
[Insert Signature Here]

#7

awezomeztazticz1
  • Minecraft: awezomeztazticz1

Posted 29 March 2013 - 01:27 AM

fun

If You Just Read This,

You Are AWESOME :D