1

RAM Allocation problems

arexin 11/20/13 10:28 am
696
11/20/2013 3:52 pm
I'm having issues with allocating more RAM to minecraft, As you know, it's very easy to allocate more RAM into minecraft with the new launcher, but when I put more than 1 GB of RAM into the JVM arguements, minecraft will not load, the error message comes up as "Could not create the Java virtual machine"

If anyone can please help, I would be very thankful. Also, I have 10 GB of RAM on my pc, and I usually had it set to 4 gigs of RAM for minecraft.
Posted by
arexin
Level 2 : Apprentice Explorer
7

  Have something to say?

JoinSign in

17

Jetra
11/20/2013 3:52 pm
Level 40 : Master Scribe
Moved to General Help

/move
1
planetminecrafter52342
11/20/2013 2:47 pm
Level 17 : Journeyman Zombie
How much ram do you have first off, What is your java version, what is your operating system, Like Windows 7 64bit, or 32bit, etc.
1
Leeberator
11/20/2013 2:40 pm
Level 47 : Master Button Pusher
Are you typing "-Xmx4G" or "-Xmx4096M" to allocate the RAM, or are you typing "-Xmx4GB" or "-Xmx4096MB?"

You don't put the "B" when allocating memory to Java. Use K, M, or G.

If you're typing "M" or "G" and are not typing "MB" or "GB," then make sure you have the 64-bit version of Java installed.
1
RustyTurkeyBrain
11/20/2013 2:31 pm
Level 32 : Artisan Electrician
Download 64 bit java AND 32 bit java, like me. Used to have a similar problem, cleared up.
1
arexin
11/20/2013 3:29 pm
Level 2 : Apprentice Explorer
Thanks! That worked!
1
TheOfficialNano
11/20/2013 2:05 pm
She/Her • Level 76 : Legendary Magical Girl War Lord
You should download more ram.
1
anonpmc1455779
11/20/2013 2:26 pm
Level 1 : New Miner
[deleted]
1
RustyTurkeyBrain
11/20/2013 2:35 pm
Level 32 : Artisan Electrician
#TwasAJoke
1
NuclearManx
11/20/2013 2:01 pm
Level 14 : Journeyman System
1.5 gb is the max you can set with Java 32x, upgrade to Java 64x.
1
CrazyPanda15
11/20/2013 10:44 am
Level 3 : Apprentice Network
You (like me I have 64gb) You will need Java 64bit. Other then that thats it for my suggestion
1
meymazda
11/20/2013 10:41 am
Level 17 : Journeyman Network
Any other errors? Seems odd to just say "Failed to create Java virtual machine" and nothing else.
1
Leeberator
11/20/2013 2:50 pm
Level 47 : Master Button Pusher
Usually it's because a JVM flag was typed incorrectly (e.g. -Xmx4096MB instead of -Xmx4096M), or a JVM flag conflicts with 32-bit limitations.
1
arexin
11/20/2013 1:56 pm
Level 2 : Apprentice Explorer
No other errors, all it says is the one I stated before and it says that it's closing the program.
1
aroglu
11/20/2013 10:39 am
Level 23 : Expert Caveman
Use 1024 MB instead of 1GB. For 4 GB type 4096 MB
1
arexin
11/20/2013 10:40 am
Level 2 : Apprentice Explorer
Problem still persists.
1
arexin
11/20/2013 10:39 am
Level 2 : Apprentice Explorer
The latest, 1.7.2
1
XxDirtySnipersXx
11/20/2013 10:35 am
Level 14 : Journeyman System
What minecraft version are you using?
1

Welcome