I tried allocating more RAM into my 1.6.2 version of Minecraft by enabling JVM arguments in the launcher. The default was -Xmx1G, so I tried to change it to -Xmx4G and when I hit save and then play, a box came up saying "Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit." I also tried setting the limit to 3G and 2G, as well as putting -Xms1G after it, but all ended with the same result. I have 8Gb of RAM installed on my computer, and am running 32-bit so I don't see why this error comes up. Any help would be greatly appreciated!
Umh, first of all. Why do you have 8GB of RAM on 32bit? 32 bit can only use at max 4GB. And 32 bit processes (Minecraft) can only use up to 2GB I believe.
Yeah I realise now that 32-bit doesn't support 8Gb of RAM, but I added the extra ram a few years back when I lacked knowledge of these sort of things.
Ive looked at a few other posts and many have said that the limit for 32-bit with Minecraft is in the range of 2.5Gb-4Gb, so Id like to use more if I can. Im currently making a tic-tac-toe minigame in my singleplayer server and am trying to make the winning line flicker on and off just for extra effect, but with my current settings the lights either don't flicker at all, or 1-2 of them flicker, or parts of each do. It is also very laggy once a winning line is achieved due to a fair number of pistons moving, as well as redstone lamps/torches triggering. My assumption was that with more RAM allocated, I would get a smooth, great looking flicker once a winning line of 3 X's or O's is achieved. Any help with solving this issue would be nice
UPDATE: I actually have a 64-bit system now that I look into it, I guess its just 32-bit java that I have installed. I will try to change my java to 64-bit later, but for right now, just help on the JVM setting would be nice
For 32bit Java you can't use an Xmx parameter of more than around 1.5G, because 32bit Windows has a 2G total process size limit. The heap (what you are tweaking) is only one part of the total process size. The non-heap parts are around 500M (it varies depending upon your version of windows, your version of Java, your current drivers, etc, etc)
I fixed the problem. I updated my java to 64-bit and allocated 4Gb RAM no problem. The winning line now flashes like a charm I would close this thread but sadly I don't know how to, haha.
Why do you need extra ram allocated to minecraft?
Developer thing.
Ive looked at a few other posts and many have said that the limit for 32-bit with Minecraft is in the range of 2.5Gb-4Gb, so Id like to use more if I can. Im currently making a tic-tac-toe minigame in my singleplayer server and am trying to make the winning line flicker on and off just for extra effect, but with my current settings the lights either don't flicker at all, or 1-2 of them flicker, or parts of each do. It is also very laggy once a winning line is achieved due to a fair number of pistons moving, as well as redstone lamps/torches triggering. My assumption was that with more RAM allocated, I would get a smooth, great looking flicker once a winning line of 3 X's or O's is achieved. Any help with solving this issue would be nice
Pleaze reply