So, I have a 64 bit os, 64 bit java (checked it), and i allocated 6 gb ram. This is what happens: it starts at 200-400 mb, then it starts increasing untill it reaches the maximum (same happened with 1gb), then it lags for one sec, and it starts from 200 mb again. I use the john smidth texture pack, no mods. I'm pretty sure it shouldn't use that much memory, not even with the highest settings. Plus i only have 12 chunks loaded.
Is there any way to fix this? It is playable, the lag happens like every 5 minutes, I'm just worried about my computer.
The Meaning of Life, the Universe, and Everything.
Location:
The Cosmos
Join Date:
12/12/2012
Posts:
277
Location:
The Cosmos
Minecraft:
Emaps
Member Details
As gerbil said, you allocated way too much RAM. At max you should allocate 4 GB of RAM and then only when playing with over a hundred mods. For playing Vanilla with a resource pack, just allocate 1 GB of RAM and you will be fine.
That is not the major fault. The major fault is that Xmn was changed. You can tell from the symptoms.
Change the new gen space and watch your heap behave badly... because you told it to.
Huh, so its the minimum that screws things up? I guess I never noticed that because I only ever change the maximum. Still, setting the max RAM too high can still slow things down.
Oh, so that's the minimum? Well, thanks for helping me out! I guess I should have watched more than one video or look up things properly. I thought if they are the same in the default they should be the same when I modify it. Guess I was wrong. oh well, thanks again for the tip!
So, I have a 64 bit os, 64 bit java (checked it), and i allocated 6 gb ram. This is what happens: it starts at 200-400 mb, then it starts increasing untill it reaches the maximum (same happened with 1gb), then it lags for one sec, and it starts from 200 mb again. I use the john smidth texture pack, no mods. I'm pretty sure it shouldn't use that much memory, not even with the highest settings. Plus i only have 12 chunks loaded.
Is there any way to fix this? It is playable, the lag happens like every 5 minutes, I'm just worried about my computer.
You allocated 6G, and you did it wrong. This problem was caused by you.
As gerbil said, you allocated way too much RAM. At max you should allocate 4 GB of RAM and then only when playing with over a hundred mods. For playing Vanilla with a resource pack, just allocate 1 GB of RAM and you will be fine.
Began playing during Alpha 1.2.6.
That is not the major fault. The major fault is that Xmn was changed. You can tell from the symptoms.
Change the new gen space and watch your heap behave badly... because you told it to.
Huh, so its the minimum that screws things up? I guess I never noticed that because I only ever change the maximum. Still, setting the max RAM too high can still slow things down.
Began playing during Alpha 1.2.6.
Oh, so that's the minimum? Well, thanks for helping me out! I guess I should have watched more than one video or look up things properly. I thought if they are the same in the default they should be the same when I modify it. Guess I was wrong. oh well, thanks again for the tip!
The minimum heap size (which is still a misnomer) is controlled by Xms which is actually the starting heap size. s for starting.
Xmx is the maximum heap size. x for maximum.
Xmn is NOT minimum. It's the new generation size. n for newgen.
Think of it like scratch space or maybe like a cache.
Java will use ALL OF THIS SPACE and then garbage collect ALL OF IT. Intensively and Disruptively.
It is supposed to be small and turn over relatively quickly.