I heard a fantastic analogy once, comparing memory in Minecraft to counter space while cooking. If you have too little, you're constantly interrupting what you want to do to move things around (SWAP files and moving things off to the disk) or clean up (many languages' Garbage Collectors). If you have enough to keep everything you're using out, that's perfect. Anything more is unnecessary and doesn't help really at all. RAM/VRAM is usually not the limiting factor in video game software, for the reason of it specifically needing to be created in such a format that the masses can run it with all sorts of different computers. If you're developing software that isn't meant to be run on the "average" computer, like CAD or rendering software, then you may end up creating it in such a way it'll really benefit from large amounts of memory (and they do!) As for why it's not improving much at all with 16GB on the Amplified world, I'd guess it's just diminishing returns with other types of lag. When optimising my programs, it's important for me to remember that even if I make one part of my program 100 times faster, it doesn't make a big difference if that part of the program is only running 0.01% of the time. 99.99% of the program will still be slow for other reasons.
I agree, the ram is not nearly as important now as the other components like gpu or cpu. Historically though, ram was typically the bottleneck as the older ddr2/3 sticks had such low speeds.
@@mathman0569 but if you in theory had infinite ram you would be able to use epsilon gc and do no gc at all which would have less stuttering vs any other gc
Ram is important when considering mods and other things like the amount of entities of loaded chunks. For most situations though, on Java minecraft, the bottleneck is the CPU, namely single core clock speed. Minecraft was not programmed with multicore performance in mind. Gpu vram is also important but cpu core speed tends to be the big limiter. A wide swath of cpus can get away with good performance. But youll really notice it with even a small amount of mods if you have a mid or lower end cpu
The overall conclusion of the video is to have 8gb of Ram allocated for Minecraft and if you want higher performance focus on upgrading the Cpu instead of the Ram.
yeah you exactly right, the bottle neck was probably the CPU, that is not why we usually do it though, if you're ever encountered a mob that was frozen while still attacking you or if the mobs just didn't move correctly, increasing the RAM usage usually fixes it, normally this starts happening after a while of gameplay when there's a lot of NPCs around, it could also help with items laying on the ground but that shouldn't be a problem, the game can also become very RAM intensive when playing with a lot of mods. great test dough 👍
mobs didn't move correctly because when it tries to insert new data into the ram it gets filled too much so it removes some data such as MOB'S LCATION so it can suddenly get teleported
Just knowing how minecraft works is enough to know that it isn't RAM bottlenecked most of the times if you have more than 4GB (unless you have a ton of mods), it uses one thread of the CPU and it is unchangable so it is always CPU bottlenecked...
I think a factor to consider in is the speed of the ram itself in megahertz, maybe not just size. People have been starting to buy DDR5 ram sticks recently
It's like in chemistry, where if you oversaturate a reactant, it doesn't really help because the other reactants are the limiting factors. If the rest of your system isn't pumping out max perf or being utilized fully then it won't help to a point (though texture packs/mods would like a word with gpu lmao) edit: your experiment wasn't really to inclusive to most people who allocate 2,4, or 6 gigs of ram, since you skipped from 2g to 8g :( most people allocate 2 or 4 gigs (I allocate 6 personally because of modding)
You don't need more than 2Gb if ur playing vanilla, a good ram usage is 70-80%. The more ram you have the slower it will run (java garbage collector n stuff)
I find the ram only matters when you play modded for example, because each mod needs to be loaded at all times for maximum efficiency. when you play ATM then, you get issues.
Allocating more than the default 2GB is pointless unless you wanna play with more demanding mods. Most mod packs even require more ram as they might not even load without enough ram. I tried sevtech ages with 8GB and it still crashed with the "out of memory" error. I know it's because of a lack of memory because I tried it on my new overkill machine.
How does world size impact performances ? 'cause I play on a big modpack and generating new chunks really start to lag when the world folder reaches a few GB. However, going into a new dimension and generating chunks there is super smooth, only my big overworkd is lagging. And only for geberating chunks. The big city i have my base is isn't lagging at all.
I was trying to optimize a mod pack recently, and after doing some reading, it seems as if 8.5G is where the game maxes out. sure you can set it higher, but I don't think it utilizes anything higher
Do your test again using mods you'll find it'll invalidate this test as I've had to up minecraft's ram usage due to mods causing the game to run at a crawl
Did you go into task master and change the priority of the game from normal to high? Probably a no. If at normal those are the results you would expect.
Hello =]. What is the resource pack or mod you used for your panarama in the main menu and the dark menu buttons. I dont know if thats how you spell panarama lol
Nah my 2013 Intel i3 witv 4Gb loads pretty fast around 10-12 seconds , and constant 57-59 Fps ( because monitor is limited to 59 Hz) only difference is that its bedrock version not java 😂
@@karakamiMinecraft benefits from single core performance than nothing, after 16GB it will not benefit that much. The garbage collector in the JVM will simply not need to run that often. And even then, the CPU will be much needed to keep the JVM's garbage collector at a descent speed.
@@GGlecocoI have the same cpu with 16 gb RAM, I get around 110 fps normally, with sodium and other mods and shaders I get around 130 - 70 fps (depending on where I'm looking). I have a render distance of 16 chunks.
Could use linux :3 Mostly joking though Minecraft does tend to run better under linux than Windows ironically enough due to MC mostly being CPU bound. And on lower end systems intel graphics tend to also run better under linux(due to being so weak and how intels windows drivers work), AMD around the same, and NVIDIA depends. If you're looking to improve windows performance, more ram can help, and there are quite a few packs that can help you out, like simply optimized, which is one of the better ones. And clearing out windows of weird software can also help a lot. and if on a hard drive, it may need to defrag, if on an SSD don't do that, it's bad for it. If you're on an SSD being above 90% full can hurt its performance, hard drives typically don't care nearly as much. And doing an anti-virus scan if that's needed, cleaning out the pc could help, and a few other things, feel free to ask questions though, I'm more than happy to help.
To get a more technical side, RAM of itself just store temporary data, it doesn't really help render stuff, just more of like something that needs to be render "later." it is more of the CPU that actually changes how performant Minecraft is (a more detailed answer after this part) . The more powerful the CPU gets, the less required RAM because the CPU gets the temporary data needed from the RAM, and thus if you have a powerful CPU, it doesn't need so much RAM because it is processing data faster than storing it (The only data it would store is like your inventory whenever you are currently not accessing it).
The first half of this comment is fine, but where on Earth did you get the idea that processing data faster means you need less RAM? The game still needs to process the same amount of stuff, and unloading and reloading that stuff every frame would absolutely tank performance.
@@theEndermanMGS I didnt say we, I was implying that the PC doesn’t need an awful a lot do RAM. Storing temporary data is one thing but if the PC is storing data that needs to be process later and if you don’t have a powerful CPU, then you obviously need more RAM to store the data needed to be process later. That’s one program. If you are going to use more than 1, of course, you’ll need more RAM. I must’ve explain it incorrectly.
@@vgstudio3588 Again, where are you getting this? Unless somebody really screwed up their code, a slower CPU will not need any more RAM to perform a given set of tasks than a faster CPU. Those tasks - and, as a consequence, their RAM usage - will take longer, but that is not the same thing as requiring more RAM.
To much Ram makes java more lazy, and I speak from the Code Language. So if you add too much Ram that Minecraft doesn´t need you will get less Performance.
I have an old workstation that has 20 cores and 40 threads. It also has 128GBs of RAM, and SSD, and an RX 5600XT. Even though I'm on 1080p around medium settings, I only get about 70 fps (minecraft can use all of my ram). It is all because the cpu speed isnt that fast anymore.
RAM can only get you so far... If you really want max performance, what you need is some Dedotated WAM
I need some dedotaed v-ram 😢
@Kaido20 Wet Ass Memory
@Kaido20awww they’re new
Technoblade joke?
@Kaido20wandom access memowwy
I heard a fantastic analogy once, comparing memory in Minecraft to counter space while cooking. If you have too little, you're constantly interrupting what you want to do to move things around (SWAP files and moving things off to the disk) or clean up (many languages' Garbage Collectors). If you have enough to keep everything you're using out, that's perfect. Anything more is unnecessary and doesn't help really at all. RAM/VRAM is usually not the limiting factor in video game software, for the reason of it specifically needing to be created in such a format that the masses can run it with all sorts of different computers. If you're developing software that isn't meant to be run on the "average" computer, like CAD or rendering software, then you may end up creating it in such a way it'll really benefit from large amounts of memory (and they do!)
As for why it's not improving much at all with 16GB on the Amplified world, I'd guess it's just diminishing returns with other types of lag. When optimising my programs, it's important for me to remember that even if I make one part of my program 100 times faster, it doesn't make a big difference if that part of the program is only running 0.01% of the time. 99.99% of the program will still be slow for other reasons.
That's actually a rly good analogy!
I agree, the ram is not nearly as important now as the other components like gpu or cpu. Historically though, ram was typically the bottleneck as the older ddr2/3 sticks had such low speeds.
actually too much ram can be a bad thing for minecraft, due to javas GC cleaning too much at once causing stuttering
@@mathman0569 but if you in theory had infinite ram you would be able to use epsilon gc and do no gc at all which would have less stuttering vs any other gc
@@apotatoman4862 No, not really, filling up the ram would still cause problems, although they'd be weirder lol
Ram is important when considering mods and other things like the amount of entities of loaded chunks.
For most situations though, on Java minecraft, the bottleneck is the CPU, namely single core clock speed. Minecraft was not programmed with multicore performance in mind.
Gpu vram is also important but cpu core speed tends to be the big limiter.
A wide swath of cpus can get away with good performance. But youll really notice it with even a small amount of mods if you have a mid or lower end cpu
im getting a 7800x3d and 64gigs is that good for minecraft?
Crossing my fingers for folia 🎉
As a person who host a server and play at the same time, on the same computer, I can say that RAM does matter.
Bro underrated asf. Hope you get famous onde day
The overall conclusion of the video is to have 8gb of Ram allocated for Minecraft and if you want higher performance focus on upgrading the Cpu instead of the Ram.
You mean WAM
my entire laptop has 8gb ram, so yeah you know what running a modded 1.16.5 Minecraft feels like
@@wraith_2309 Not enough ded-titaded WAM
Brilliant and concise, thank you! All I needed to know saving me hours of work to figure out!
yeah you exactly right, the bottle neck was probably the CPU, that is not why we usually do it though, if you're ever encountered a mob that was frozen while still attacking you or if the mobs just didn't move correctly, increasing the RAM usage usually fixes it, normally this starts happening after a while of gameplay when there's a lot of NPCs around, it could also help with items laying on the ground but that shouldn't be a problem, the game can also become very RAM intensive when playing with a lot of mods.
great test dough 👍
mobs didn't move correctly because when it tries to insert new data into the ram it gets filled too much so it removes some data such as MOB'S LCATION so it can suddenly get teleported
i feel like this video deserves more attention. heck, even the channel itself does! new sub :D
You can say, it deserves more dedtitated WAM
How did we manage to buy THE SAME EXACT RAM? I don't know. It was the only one left for me, I guess.
It just… happens sometimes…? Cool though lol
I still don't know how to decide what gaming laptop I need for Minecraft but I LOVE that piston/screen/slide thingy
Just knowing how minecraft works is enough to know that it isn't RAM bottlenecked most of the times if you have more than 4GB (unless you have a ton of mods), it uses one thread of the CPU and it is unchangable so it is always CPU bottlenecked...
Yes, ram matters, more ram = more instances = more good seeds = better chances for a good time
Its like so obvious
Wow, your channel is growing really fast!
I think a factor to consider in is the speed of the ram itself in megahertz, maybe not just size. People have been starting to buy DDR5 ram sticks recently
I'm 404th subscriber 😆
8 gigs is the absolute max you'd need, anything above will stutter
minecraft is just so unoptimized that it doesnt matter how strong your computer is it will lag
It's like in chemistry, where if you oversaturate a reactant, it doesn't really help because the other reactants are the limiting factors.
If the rest of your system isn't pumping out max perf or being utilized fully then it won't help to a point (though texture packs/mods would like a word with gpu lmao)
edit: your experiment wasn't really to inclusive to most people who allocate 2,4, or 6 gigs of ram, since you skipped from 2g to 8g :(
most people allocate 2 or 4 gigs (I allocate 6 personally because of modding)
You don't need more than 2Gb if ur playing vanilla, a good ram usage is 70-80%. The more ram you have the slower it will run (java garbage collector n stuff)
My guess is that sometimes the 12400F was a bottleneck for the ram.
first i saw video - that was preety good
then i saw subscribers i could not belive this 😶
before the video starts I already think that Minecraft will crash sooner
Thank you so much 👍🏻
Im ur 236th subscriber 😊
I heard minecraft operates best around 4-5 gigabytes allowed usage. No need for more. As vanilla.
u shoulfd try using coumplementry shadder on ultra settings + 32 chunks
I find the ram only matters when you play modded for example, because each mod needs to be loaded at all times for maximum efficiency. when you play ATM then, you get issues.
What are the issues in playing with an Automated Teller Machine?
epic vid m8!
4:48 that specifically has to do with gpu because that is a rendering thing
Allocating more than the default 2GB is pointless unless you wanna play with more demanding mods. Most mod packs even require more ram as they might not even load without enough ram.
I tried sevtech ages with 8GB and it still crashed with the "out of memory" error.
I know it's because of a lack of memory because I tried it on my new overkill machine.
So, I put Minecraft world folder on NVMe SSD, and it got much slower. WTF, Mojang?
How does world size impact performances ? 'cause I play on a big modpack and generating new chunks really start to lag when the world folder reaches a few GB. However, going into a new dimension and generating chunks there is super smooth, only my big overworkd is lagging. And only for geberating chunks. The big city i have my base is isn't lagging at all.
mib and gib are mebibytes and gibibytes, not megabytes and gigabytes like u say
They are effectively the same thing.
I was trying to optimize a mod pack recently, and after doing some reading, it seems as if 8.5G is where the game maxes out. sure you can set it higher, but I don't think it utilizes anything higher
hold on, LEMME ADD MY 128 GB RAM-
Do your test again using mods you'll find it'll invalidate this test as I've had to up minecraft's ram usage due to mods causing the game to run at a crawl
it always took 15 seconds because you were adding storage not speed
what is that thing? 0:34
Yeah, the ram is nedded for better performance, it's like the most important thing.
by the way ram speed also matters 200hz ram 8gb is going to load slower than 800hz 4gb ram
who as 800Hz 💀
I think u meant mhz not hz
@@mateusio33 same thing, who as 800MHz :')
I dont think you know what your talking about, but your almost there
yea i dont rely know the speed bu faster ram will load minecraft faster
2:37 8GB is 8192MB
Did you go into task master and change the priority of the game from normal to high? Probably a no. If at normal those are the results you would expect.
it does. Always does
Im the 1k like!!
unless you’re running Mystic’s Monstrosity, then no
maybe if you use less RAM the CPU usage will get lower? so maybe 64 megabytes of RAM might make your Minecraft only use 1 to 10 percent CPU
Ram more like Ramburgher lmao gottem
you should totally give hints to your username in every video real
yo could u pass that 16 gigs of ram if you aren't using it.. i mean i could really use it
How much dedtitated WAM I should add to my server?
What is the texture pack that you are using at 2:57?
Looks like "Simply Dark"
it does in modded
0:19 АААА я так и знал, я знал !!!
Hello =]. What is the resource pack or mod you used for your panarama in the main menu and the dark menu buttons. I dont know if thats how you spell panarama lol
It is one single Texture Pack called "Unique Dark"
Ok thx :D@@NNHidden
i use like 16 gigs or more for mods
nice video
What minecraft client are you using?
I think You`ve meant launcher, i use Prism Launcher
One that requires a lot of dedotated WAM
That ram usage meter is fake,use msi afterburner to see how much really its using ❤😅
quick answer: yes
sligitly less quick answer: if you want high render distance or a lot of mods
also aint no way u got 64 gb ram from a super market
Nah i got those from amazon
what minecraft clien are you using?
me with 4gb ram : 😼
I feel your pain...
Try with tnt now :)
Yes, don't buy more ram for minecraft! Buy more ram for Windows 11!
imo windows 10 is better, but if you want the os to boot and be faster an ssd is the answer
what cpu do you have
bro has a rtx 3060,...... noice
Nah my 2013 Intel i3 witv 4Gb loads pretty fast around 10-12 seconds , and constant 57-59 Fps ( because monitor is limited to 59 Hz) only difference is that its bedrock version not java 😂
i only got 4gb ram😢
what texture pack is that?
Bro my pc only has 4 gb if ram 😢 🐏
If your CPU was causing a bottleneck, your equipment isn't sufficient for posing a question like this.
he literaly has i5-12600f, its decent
*12400F @@karakami
@@karakamiMinecraft benefits from single core performance than nothing, after 16GB it will not benefit that much. The garbage collector in the JVM will simply not need to run that often. And even then, the CPU will be much needed to keep the JVM's garbage collector at a descent speed.
@@GGlecocoI have the same cpu with 16 gb RAM, I get around 110 fps normally, with sodium and other mods and shaders I get around 130 - 70 fps (depending on where I'm looking). I have a render distance of 16 chunks.
@@bitonic589 what are your PC specs?
are you talking about wam in this video or ram, I think ram dont exist or you misprononce wam
I allocate 512MB.
Me playing on 4 gb ram still 20 fps with Intel integrated
Please tell how can I improve
( I use sodium fabric min fps 20 avg fps 25 max fps 40
Use Performance mod packs that contain performance mods. I would recommend mod pack named "Additive"
I recommend Simply Optimized (modpack)
@@brutures-ky2si Yeah, it's a good pack, bench marked it in the past and it did pretty well against some other packs
Could use linux :3
Mostly joking though Minecraft does tend to run better under linux than Windows ironically enough due to MC mostly being CPU bound. And on lower end systems intel graphics tend to also run better under linux(due to being so weak and how intels windows drivers work), AMD around the same, and NVIDIA depends.
If you're looking to improve windows performance, more ram can help, and there are quite a few packs that can help you out, like simply optimized, which is one of the better ones. And clearing out windows of weird software can also help a lot. and if on a hard drive, it may need to defrag, if on an SSD don't do that, it's bad for it. If you're on an SSD being above 90% full can hurt its performance, hard drives typically don't care nearly as much.
And doing an anti-virus scan if that's needed, cleaning out the pc could help, and a few other things, feel free to ask questions though, I'm more than happy to help.
@@mathman0569 Linux isnt good for gaming
What your looking for is vram. VRAM is part of the gpu and thus requires a gpu upgrade to get more vram.
video ram is for graphics, but minecraft's graphics are primarily calculated with the cpu so vram is pretty irrelevant
vram is only relevant for high resolution texture packs
@@brutures-ky2si s h a d e r s
unless if someone sold a GPU that can access your motherboard's ram (it should be slow actually)
To get a more technical side, RAM of itself just store temporary data, it doesn't really help render stuff, just more of like something that needs to be render "later." it is more of the CPU that actually changes how performant Minecraft is (a more detailed answer after this part) . The more powerful the CPU gets, the less required RAM because the CPU gets the temporary data needed from the RAM, and thus if you have a powerful CPU, it doesn't need so much RAM because it is processing data faster than storing it (The only data it would store is like your inventory whenever you are currently not accessing it).
The first half of this comment is fine, but where on Earth did you get the idea that processing data faster means you need less RAM? The game still needs to process the same amount of stuff, and unloading and reloading that stuff every frame would absolutely tank performance.
@@theEndermanMGS I didnt say we, I was implying that the PC doesn’t need an awful a lot do RAM. Storing temporary data is one thing but if the PC is storing data that needs to be process later and if you don’t have a powerful CPU, then you obviously need more RAM to store the data needed to be process later. That’s one program. If you are going to use more than 1, of course, you’ll need more RAM. I must’ve explain it incorrectly.
@@vgstudio3588 Again, where are you getting this? Unless somebody really screwed up their code, a slower CPU will not need any more RAM to perform a given set of tasks than a faster CPU. Those tasks - and, as a consequence, their RAM usage - will take longer, but that is not the same thing as requiring more RAM.
@@theEndermanMGS Nevermind I’m wrong
To much Ram makes java more lazy, and I speak from the Code Language. So if you add too much Ram that Minecraft doesn´t need you will get less Performance.
Yeah, no. That's not true at all. I make games and it definitely helps.
@@Skyfecta You make games for Java? U sure?
can you please explain? my smoll brain can't get it
@@Maverick56912 They're wrong, more resources wont affect performance if they're not being utilized. More ram wont do anything past a certain point.
and I have 4 gb ram
bro?????
I have an old workstation that has 20 cores and 40 threads. It also has 128GBs of RAM, and SSD, and an RX 5600XT. Even though I'm on 1080p around medium settings, I only get about 70 fps (minecraft can use all of my ram). It is all because the cpu speed isnt that fast anymore.
i have 24gb allocated
sometimes less is more, especially when it comes to allocating ram.
16GB is just right
try ram optimization mods just ram
Tbh i got minecraft 1.20.2 running on a pentium 4 630 i did see 60 fps once
If minecraft accesses ram less means more speed?
imagine still having a rtx 3060 xD
Me with a 1050 ti :v
Me with Intel Graphics 💀
Me with 3060 ti
op is spoiled
@@RandMV gma 500 moment
4gb is best
How much detotated wam should you have to the server