Fix Minecraft Java Crash - Java Heap Size

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
11,601
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 14, 2011

Create a Shortcut to fix Minecraft from crashing due to SE Binary Crash or Out of memory Crash

Step 1.
First find where you Java is located something like C:\Program Files\Java\jre6\bin\javaw.exe or C:\Program Files (x86)\Java\jre6\bin\javaw.exe

Step 2.
Paste in all the info into the short cut with your customized settings.

Step 3.
Replace Icon to look like Minecraft logo again.

Template:
"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx2048M -Xms2048M -jar "C:\Users\username\Desktop\Minecraft.exe"



If you get:

Unable to Create Java Virtual Machine

This is may be because you are trying to allocate more ram to Minecraft then your computer an handle. Or because you are running 32bit Java on a 64bit Machine.

Solutions to this:

Try less ram in the target example:

-Xmx2048M -Xms2048M or -Xmx1536M -Xms1536M

Uninstall 32bit Java and Install 64bit Java (for 64bit Operating systems only!)

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (zlmitchell)

  • i have 64 bit computer, 64 bit java 8 GIGS OF RAM and i get cannot create virtual machine

  • @ujustwastedurtime you cannot dedicate all your ram to minecraft try dedicating only 3gb or 4gb to minecraft. or even 2 gb to start. then move up from there

  • minecraft wont run for me now it wont load up how do i fix this on a mac

  • @thecadan991 This video is specific for Windows...

  • @zlmitchell does not work I put in and hit shortcut and I get that name not valid ....: (

  • @namyotaku1 you need to fix you TARGET link

see all

All Comments (98)

Sign In or Sign Up now to post a comment!
  • Wont work for me :(

  • FINALLY ... a java fix that works! Thank you for taking the time to do this and making it understandable, even for an old lady. :D

  • I did all that you said and when I ruc shortcut it just makes sound and not open...

  • Question: so i never had lagg with my minecraft. and i didnt need to use any fps booster things and that kind of stuff. now i wanted to add my minecraft to steam and because of that i installed 32 bit (already had 64 bit) now whatever i do i lagg realy badly, i deleted 32 bit java and all that stuff and whatever i could do. but it just laggs me out hellish (normaly i have 100-150 fps. now i have like 10 -30 fps so its not normal) please answer, thanks :)

  • @zlmitchell hey man so i did everything in this video and it changed the ram usage but for some reason minecraft still crashes and java platform se binary still shows up and ideas!

  • Thanks everything worked just fine :D 

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more