1
Allocating more ram doesn't work
I now am using version 1.8, I can play for about 1-2 minutes before the game starts freezing. I changed texture packs back to default and lowered all options to the minimum just to see if that helped. It did not. I then pressed F3 and realized that the memory was maxing out every time it froze and that memory allocation was at 100% of 499M. I looked over several tutorials and each one makes it seem so easy yet this is where I am having a problem.
Using the launcher, (version 1.5.3), I tried to edit a profile by selecting JVM Arguments like all the tutorials say to do. But when I put in -Xmx2048M -Xms2048M it gives me the message:
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
If I try to just put -Xmx2048M, the game will start, but when I press F3 it shows that memory allocation was at 100% of 499M. I can't allocate additional memory to avoid minecraft from freezing and I would like to know if anyone has any suggestions as to what to do.
I apologize if this is the wrong forum for this, but I've been trying to figure out how to fix this for a couple of days now and I don't know where to go next.
Using the launcher, (version 1.5.3), I tried to edit a profile by selecting JVM Arguments like all the tutorials say to do. But when I put in -Xmx2048M -Xms2048M it gives me the message:
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
If I try to just put -Xmx2048M, the game will start, but when I press F3 it shows that memory allocation was at 100% of 499M. I can't allocate additional memory to avoid minecraft from freezing and I would like to know if anyone has any suggestions as to what to do.
I apologize if this is the wrong forum for this, but I've been trying to figure out how to fix this for a couple of days now and I don't know where to go next.
Create an account or sign in to comment.
14
1
Found a list of people who found solutions to this problem here:
You're welcome, btw.
1
Aww yeah, that totally helps. It's let me google that for you which sends you back to this page...
1
Open Minecraft ( make sure this is the only one ) go to "Edit Profile" on the bottom there is a "JVM Agruments". Depending on how much ram you have on your computer is what you should set it to. If you're using mac/Linux not too sure how to check ram on the computer. But if you're using windows go to start right click on computer then click properties should pop open a window showing your ram. If you have 4GB+ you should be okay to run Minecraft on 2GB. Now go back into your Minecraft replace what ever is on the right of "JVM Agruments" with this: -Xmx2G
Done deal, should work fine.
Done deal, should work fine.
1
I think I may have found the problem. In my snooper settings Theres is 2 JVM arguments:
jvm_agrs[1] -Xmx2048M
jvm_agrs[2] -Xmx512M
why would there be 2 of them, isnt the 512M stopping the 2048M to work? Could that be why the allocation of memory is always 512M even if I added 2048M.
jvm_agrs[1] -Xmx2048M
jvm_agrs[2] -Xmx512M
why would there be 2 of them, isnt the 512M stopping the 2048M to work? Could that be why the allocation of memory is always 512M even if I added 2048M.
1
Yes I know Xmx is the max and Xms is the min and no matter what amount I use it gives me:
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
And whats the batch file you were talking about?
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
And whats the batch file you were talking about?
1
Yes I tried it and yes I googled it, they all concluded with them having 32-bit version of java with 64-bit operating system
1
Xmx is the max amount, xms is the minimum (tbh, I'm not sure why a minimum exists), it doesn't make sense for xmx to equal xms.
If possible, use more.
Also, I wonder if it matters what amount you use in the batch file. I made mine the same but am not sure if it makes a difference, I now know that the one in versions is the one to use.
If possible, use more.
Also, I wonder if it matters what amount you use in the batch file. I made mine the same but am not sure if it makes a difference, I now know that the one in versions is the one to use.
1
-Xmx2048M -Xms2048M is the JVM argument. It still doesnt work if I change around the numbers
1
Did you try? Also, have you googled this issue? There's a guide to it on the MCForums and probably lots of other places.
1
I mixed up those numbers I believe. Try setting it to -Xmx2048M -Xms1024M
1
What are your exact runtime arguments?
1
I tried it but this message pops up:
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
Error occurred during initialization of VM
Initial heap size set to a larger value than the maximum heap size
Picked up _JAVA_OPTIONS: -Xmx512M
1
Set it to something like
or
-Xmx1024M -Xms2048M
or
-Xmx2048M -Xms3072M
1
PC specs:
AMD FX-6300 3.5gHz (CPU)
8.00 GB (RAM)
AMD HD7850 Series (GPU)
64-bit Operating System (yes I have 64-bit version of java)
AMD FX-6300 3.5gHz (CPU)
8.00 GB (RAM)
AMD HD7850 Series (GPU)
64-bit Operating System (yes I have 64-bit version of java)