1
RAM problems....
Hey guys, So I've been having this problem where I cannot allocate RAM to Minecraft, I've tried numerous codes, and none of them have worked for me. I have 2 Windows accounts and on one it works fine whereas on the other it does not.
I'm running windows 7 and have 8GB RAM if it helps. Any help on this would be greatly appreciated
P.S. (I've also tried re-installing Minecraft as well as transferring all the folders from my working windows account to the other one)
I'm running windows 7 and have 8GB RAM if it helps. Any help on this would be greatly appreciated
P.S. (I've also tried re-installing Minecraft as well as transferring all the folders from my working windows account to the other one)
31
Guys, here's the problem.
He's trying to allocate FOURTEEN gigabytes to Java when his system only has EIGHT gigabytes, and some of it is already being used by the system.
It's just a simple case of PEBKAC, ID 10 T. Simple biological interface failure which was caused by a carbon based error.
He's trying to allocate FOURTEEN gigabytes to Java when his system only has EIGHT gigabytes, and some of it is already being used by the system.
It's just a simple case of PEBKAC, ID 10 T. Simple biological interface failure which was caused by a carbon based error.
Using, this code now
< -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=128 -XX:G1HeapRegionSize=64M >It's still not working...
< -Xmx4G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=128 -XX:G1HeapRegionSize=64M >It's still not working...
Try deleting the profile you are using, and remake it to generate the default arguments (as in "code").
Modify as needed, and if it still fails to start, this site may help.
Modify as needed, and if it still fails to start, this site may help.
-.- No need to be salty
Are you using the correct arguments? If you press F3 in game, you'll see how much RAM is available. If that's different then what you wanted, you're most likely using an incorrect argument.
For instance, this is what I use for 2GB:
For instance, this is what I use for 2GB:
-Xmx2048M -Xms2048M-Xmx14G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=128 -XX:G1HeapRegionSize=48M
as far as i'm aware there is nothing wrong with it if there is please tell me
as far as i'm aware there is nothing wrong with it if there is please tell me
oh... the RAM available says 1 GB but it only goes to 512mb?Also, i have 8gb RAM on my computer so....?
It looks like you've tried to allocate 14 GB of memory to your Java while you only have 8GB of RAM.
Just stick to 2GB (i.e -Xmx2G).
Just stick to 2GB (i.e -Xmx2G).
I tried 2GB and it's not working, also in my other windows account it allows me to allocate 14gb
You cant allocate 14 gigabites of RAM. RAM is not the same of all windows computers. One windows computer can have 4 and the other can have 2. You for instance have 8 gigabites. Try changing the 14G in the arguments to 4G maybe. You might wonder why you can't do 8. The reason for this is, you want to give other system operations and application open some RAM to use left over while you're playing minecraft.
This shows instantly why people who don't understand how computers work shouldn't play minecraft... You can't allocate more RAM than you have on your computer, and if you allocate 8 GB, it will probably crash at some point because other systems on your computer are also using that RAM. You should only allocate up to 6 GB, but if you're really desperate, you could possibly do 7.
Buddy, I'm decent at computers, ok? I know how RAM works and everything it's just that when my friend came over one of my other windows accounts(SAME PC) he put 14 GB and it WORKED, it allocated 14 GB of RAM, whereas on my other account it is REFUSING TO ALLOCATE ME RAM. Please understand that I have mediocre knowledge about computers, I'm not stupid and I've tried; 1, 2, 4, 5, and 6 GB codes, not just the 14 GB code.
Also a windows account doesn't change the amount of RAM the PC has, so unless you meant that it was a different computer, the 14 GB working is incorrect.
THANK GOD! XD One thing though, it seems there was a slight typo, but I think I get what it was supposed to be. "Please understand that I have mediocre knowledge about computers". If that wasn't a typo then the first part didn't make much sense... Anyway this is a really odd issue, I've never seen anyone else have any issues similar to this... One thing though, how do you know it's not allocating RAM?
When I click f3 it says '100% allocated 512mb'.I have like 30 mods so I can't move at all without my frames dropping to like 60
I know that it doesn't change the amount of ram....
It's a different account on the same PC, i think that one of my accounts has 8gb/16gb allocated whereas the other has 16gb out of 16gb allocated, but this still doesn't fix my problem.
It's a different account on the same PC, i think that one of my accounts has 8gb/16gb allocated whereas the other has 16gb out of 16gb allocated, but this still doesn't fix my problem.
It might give you a little boost to upgrade to Windows 10. Seeing as you already have Windows 7, I think the upgrade should be free.
That has absolutely nothing to do with it. His issue (which should be solved below) is entirely a matter of knowing how to work with minecraft itself, not the operating system. Windows 10 would give a minimal boost and potentially give quite a few headaches instead.
The free upgrade is long expired.
The free upgrade is long expired.
i tried but windows 10 was very buggy and i went back to 7
Go to the folder ''computer'' then above that there is something called ''System Properties'' click it and look at the System Type: If it's 32-bit Operating System that means that it can't use more than 1 GB RAM on minecraft. If it's 64-bit OS then I don't what the issue is
it's 64 bit and my code is
-Xmx14G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=128 -XX:G1HeapRegionSize=48M
-Xmx14G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=128 -XX:G1HeapRegionSize=48M
You're trying to allocate 14 gigabytes to Java on an 8 gigabyte system.
You should shoot for five at the most, to leave enough for the system and a few other processes.
You should shoot for five at the most, to leave enough for the system and a few other processes.
Tried 5gb, NOT WORKING
are you using the 64bit of java?
Yes
and how are you trying to increase ram
by changing the code...
*jvm arguments of the launcher also I'm using 1.8.9 optifine, 5zig and forge
so youve changed the jvm arguments so it says, for example
-Xmx3072m
and youve set the launcher to use a custom java to make it run the 64bit version?
-Xmx3072m
and youve set the launcher to use a custom java to make it run the 64bit version?
View 1 more replies
