In the new minecraft launcher they have a thing to allocate more ram to the game. For some reason when I do it, it does not work
I use -Xmx2048M and the game launches but only uses almost half a gig and I use -Xmx2048M-Xms2048M and the game wont even work. I get this in the console when it doesn't launch http://puu.sh/7lTpG.png
I have Java (64-bit) have uninstalled and re installed many times and have also completely deleted minecraft and re downloaded it
i think you just did something stupid..... here just copy and paste this -Xmx2G into the JVM Areguments bar thing..... there is only supposed to be one thing in there.... so putting 2 things messed it up also G means Gigabytes and 2048 Megabytes equal 2 Gigabytes
I think you've confused yourself a bit as to what happens when.
In any case, as your screenshot shows, you have an environment variable _JAVA_OPTIONS that is setting the max heap to 512M
You have to remove this variable from your environment. Right click on the Computer icon, select Advanced System Settings. Select Environment Variables. Check both User and System variables for "_JAVA_OPTIONS" and delete it.
Fix the Java Options thing that is in your first screen cap from your first post.
"Picked up _JAVA_OPTIONS: -Xmx512M"
You can claim that it isn't there. But it's right there in black and white, and since it is the cause of your problem, your problem won't be solved until you deal with it.
Fix the Java Options thing that is in your first screen cap from your first post.
"Picked up _JAVA_OPTIONS: -Xmx512M"
You can claim that it isn't there. But it's right there in black and white, and since it is the cause of your problem, your problem won't be solved until you deal with it.
Otherwise you're just wasting our time.
In the environmental variables under user there is only 2 things and under system there is no _JAVA_OPTIONS (im on windows 8.1) if that changes anything
Try the Java Control panel, which is accessible from the Windows Control Panel on all pre Win 8 windows..
Click on the second tab ("Java") of the JCP, then click the view button.
Check all the entries under the User and System tabs and make sure all the Runtime Parameters fields do not contain an Xmx parameter
Try the Java Control panel, which is accessible from the Windows Control Panel on all pre Win 8 windows..
Click on the second tab ("Java") of the JCP, then click the view button.
Check all the entries under the User and System tabs and make sure all the Runtime Parameters fields do not contain an Xmx parameter
They do not...I can allocate more ram on FTB and MultiMC just not regular minecraft launcher
Also, why are you trying to allocate more memory to Minecraft? It should not need more than 256MB and certainly not over 512MB.
You're kidding, right? 1447 posts and you don't know this?
With texture packs, the ability to add multiple mods and texture packs at once, shaders, and all the other things out there for Minecraft, you can easily use over 512MB of RAM.
On top of this, even with nothing else but vanilla minecraft, more often than not, more RAM allocation means the game should run smoother and with a higher FPS.
On top of this, even with nothing else but vanilla minecraft, more often than not, more RAM allocation means the game should run smoother and with a higher FPS.
This is false. Minecraft uses what it needs, it isn't coded to perform any kind of adaptive memory usage, providing the JVM with excess memory just exacerbates any issues between the JVM, your actual computer and the resource allocation between them.
I use -Xmx2048M and the game launches but only uses almost half a gig and I use -Xmx2048M -Xms2048M and the game wont even work. I get this in the console when it doesn't launch http://puu.sh/7lTpG.png
I have Java (64-bit) have uninstalled and re installed many times and have also completely deleted minecraft and re downloaded it
Please help it would be very appreciated
Edit: Here, this is how they're different: http://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvms
If I helped you, whether it's a question or not, press the
In any case, as your screenshot shows, you have an environment variable _JAVA_OPTIONS that is setting the max heap to 512M
You have to remove this variable from your environment. Right click on the Computer icon, select Advanced System Settings. Select Environment Variables. Check both User and System variables for "_JAVA_OPTIONS" and delete it.
http://puu.sh/7ubnD.png
http://puu.sh/7ubt3.png
and there is not a _JAVA_OPTIONS thing
"Picked up _JAVA_OPTIONS: -Xmx512M"
You can claim that it isn't there. But it's right there in black and white, and since it is the cause of your problem, your problem won't be solved until you deal with it.
Otherwise you're just wasting our time.
You don't need an -Xms, just go with
Click on the second tab ("Java") of the JCP, then click the view button.
Check all the entries under the User and System tabs and make sure all the Runtime Parameters fields do not contain an Xmx parameter
Hi,
From that image, a global Java Argument was passed that forced it to use "-XMX512MB" as a parameter.
Run a command prompt and use the command: A notepad window should open up, copy everything and put it in a spoiler here.
Also, why are you trying to allocate more memory to Minecraft? It should not need more than 256MB and certainly not over 512MB.
You're kidding, right? 1447 posts and you don't know this?
With texture packs, the ability to add multiple mods and texture packs at once, shaders, and all the other things out there for Minecraft, you can easily use over 512MB of RAM.
On top of this, even with nothing else but vanilla minecraft, more often than not, more RAM allocation means the game should run smoother and with a higher FPS.
This is false. Minecraft uses what it needs, it isn't coded to perform any kind of adaptive memory usage, providing the JVM with excess memory just exacerbates any issues between the JVM, your actual computer and the resource allocation between them.
Minecraft is not whatsoever to exceed 512MB of RAM, even so that it is by default restricted to use memory above that limit by the launcher.
I do not include any 3rd party addons in account of my statement, this is Unmodified Minecraft Client Support.
On top of what gerbil mentioned, if you know what RAM is, it does not define performance—at all.
Hi,
If you had done what I asked, you would have a text file that opened up, can you give us the content of it?