I want to play a Minecraft modpack with 700ish mods, but I dont know how much RAM to allocate. I have 16GB of DDR4 2133MHz, and PC specs are i5 6500 with a GT 1030.
No, you do not just allocate more if the game lags - press F3 and check the actual memory usage, only if it keeps rising to near 100%, then lags, is lack of memory the issue - otherwise, general lag/low performance is due to something using too much CPU or GPU, especially if only FPS or game ticks lag (e.g. you get smooth FPS but mobs lag and blocks break with a delay, which means that the server thread is maxed out. The debug screen shows graphs of FPS and tick time if you press Alt+F3, helping show whether the issue is lag spikes or general low performance).
Just because you've got a system with 16gb of RAM doesn't mean you should just be allocating crazy amounts to the game in which it isn't going to need or use properly. With vanilla Minecraft the recommended allocation is 2gb, but since you're using 700ish mods as you said, I'd assume you'd likely have a need for 8gb allocated to the game, you should use Alt+ F3 and check to see how often 4gb is actually being used. Start with 4gb allocated, then work your way up until you've found a setting where the game isn't constantly hitting the memory cap.
Also fast RAM can help, it's not just capacity that helps with performance, but bus speeds too,
faster RAM with lower latencies means the CPU can move data around quicker.
Question, is your memory running in dual channel mode?
Thanks for telling me. Its just that when Forge is loading, it crashes, and says that Java SE Runtime or something didn’t have enough memory. It exactly said that the system ran out of physical memory. Another question, can my brother, who’s laptop has 8GB RAM, run the pack?
Um not sure what dual channel means, but I have 2 8GB RAM sticks
Lag aint the problem, Forge doesn’t load in and the crash says that my system ran out of physical memory, which I think means I didn’t have enough allocated.
m not sure what dual channel means, but I have 2 8GB RAM sticksLag aint the problem, Forge doesn’t load in and the crash says that my system ran out of physical memory, which I think means I didn’t have enough allocated.
That's what dual channel is, 2 memory sticks on a motherboard that supports dual channel mode on them.
So it would seem this isn't causing your problem, 16gb is a lot of memory also.
I cannot answer your question because I don't know how much memory precisely the modpack is using, you'd need to post screenshots of the debug screen so we can have a look to see what is going on.
With your brothers laptop having only 8gb of RAM, it wouldn't be wise to allocate 8gb to Minecraft, you could only safely allocate 4gb at most.
I mighht sound like I dont know anything, but what do you mean by debug screen? And, your saying my brother cant run it? If it will need to allocate 8+GB?
I mighht sound like I dont know anything, but what do you mean by debug screen? And, your saying my brother cant run it? If it will need to allocate 8+GB?
if your brother only has 8gb of RAM in his laptop then I wouldn't advise allocating 8gb because you need some memory for the operating system and background applications. At this point if your brother is finding himself in need of 8gb for a modpack in Minecraft then you should be looking into upgrading the laptop to 16gb.
Don't jump to conclusions though, test it, start with allocating 4gb then use the Alt + F3 keys to get the debug screen up to look at how much memory is being actively used at the right top corner of your brothers laptop display. Not all performance problems are caused by running out of memory.
Lag can happen for many reasons, such as the RAM speed issue I've explained to you before,
or perhaps it might be the CPU or GPU that is the bottleneck, it is up to you to figure it out, you asked the question but without more details we can't help you.
It exactly said that the system ran out of physical memory
Do you mean a report like this? That means that you've allocated more memory than your system can handle - the solutions are to allocate less memory, close unnecessary programs, upgrade your system, and/or use less mods (personally, I find the memory usage of modern mods to be unbelievable; I can run my own self-modded version perfectly fine at all settings with just 512 MB allocated, and while this is considered a "single" mod so could a mod that adds just one thing, or 1000).
Ahh ok, thanks so much for helping! I had allocated too much RAM to it, and when I lowered it (to 8GB from 15GB) it worked fine!
I dont know how you run in 512MB though, do you have high speed RAM?
Memory speed and memory quantity are two completely separate things; 512 MB is enough because 1.6.4, and my own self-modded version based on it, is extremely memory-efficient compared to modern versions, which are coded with no regard to memory allocation, as the creator of Optifine explains here (this has only worsened since 1.8); by contrast, this was taken at max settings in a "mega forest" biome full of massive trees up to 64 blocks tall; nor have I seen any changes to memory usage while working on a massive update (it adds 220 new blocks and items alone, not even counting every sub-variant, 39 entities/new variants of, 27 new biomes, and more).
This is also why I previously said that the memory usage of modern mods was unbelievable, they seem to require 10-100x more memory to add the same content, then again, they are based on Forge, which itself is extremely memory-inefficient due to the way it interfaces with the game (my own mods directly modify the vanilla code while Forge relies on indirect means which add a lot of overhead); "vanilla by itself is more efficient than even Forge+FoamFix". Unfortunately, FoamFix hasn't been updated since 1.14 as it claimed to reduce memory usage by 50%, but the fact that Forge and Foamfix by themselves are worse than vanilla is telling - this is also why you should never use Forge to run Optifine if it is the only mod you are using. There are optimization mods for newer versions, such as "Sodium", though they don't always focus on memory usage (Sodium appears to mainly be a graphical optimization mod, though it does mention decreasing memory usage), and they may cause issues with other mods due to their invasive nature.
Ahh ok, thanks so much for helping! I had allocated too much RAM to it, and when I lowered it (to 8GB from 15GB) it worked fine!
I dont know how you run in 512MB though, do you have high speed RAM?
You're welcome, also as TMC suggested close unused apps while gaming helps.
Normally 16gb of RAM would've been childs play for Minecraft, but you're running it with mods on your PC.
I game on a PC that has this much RAM but runs at 2400mhz, although I'm not playing modded currently,
I'm playing vanilla Minecraft on bedrock edition, it would be impossible for memory to be an issue for me because I always close unnecessary apps.
as you've figured out for yourself RAM in your PC is used for much more than just your game,
you've got to think of it like a pie chart, every application and your OS you're running needs a slice of that pie and it's not good practice to allocate your total system memory to one application because then you end up with out of memory errors and crashes.
Yeah, I went on task manager, and my OS+Antivirus were using 3.5 gigs anyways :/ I might try playing some 1.6.4 again now
As I suspected, on idle my system is using about 4gb, I use a RAMdisk software too which is free and great for boosting temp file access/writes.
Generally speaking Minecraft will never be able to take full advantage of a system with 16gb unless it is heavily modded and with high resolution texture packs and shaders, or if it's a vanilla server with lots of active players.
even then it's not a good idea to fill your RAM to the brim because then what ends up happening is your OS begins using virtual memory, fake RAM on your hard disk or SSD, which is a lot slower.
Same reason why PC's with 8gb of RAM become a little sluggish when they start peaking at 6+gb memory usage,
the hard disk is being used to store the overflow but is being constantly accessed, and that can cause lag if not outright crash your system.
I want to play a Minecraft modpack with 700ish mods, but I dont know how much RAM to allocate. I have 16GB of DDR4 2133MHz, and PC specs are i5 6500 with a GT 1030.
try an amount, if it lags, allocate more
it's not that hard to find out by yourself
No, you do not just allocate more if the game lags - press F3 and check the actual memory usage, only if it keeps rising to near 100%, then lags, is lack of memory the issue - otherwise, general lag/low performance is due to something using too much CPU or GPU, especially if only FPS or game ticks lag (e.g. you get smooth FPS but mobs lag and blocks break with a delay, which means that the server thread is maxed out. The debug screen shows graphs of FPS and tick time if you press Alt+F3, helping show whether the issue is lag spikes or general low performance).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Just because you've got a system with 16gb of RAM doesn't mean you should just be allocating crazy amounts to the game in which it isn't going to need or use properly. With vanilla Minecraft the recommended allocation is 2gb, but since you're using 700ish mods as you said, I'd assume you'd likely have a need for 8gb allocated to the game, you should use Alt+ F3 and check to see how often 4gb is actually being used. Start with 4gb allocated, then work your way up until you've found a setting where the game isn't constantly hitting the memory cap.
Also fast RAM can help, it's not just capacity that helps with performance, but bus speeds too,
faster RAM with lower latencies means the CPU can move data around quicker.
Question, is your memory running in dual channel mode?
Um not sure what dual channel means, but I have 2 8GB RAM sticks
Lag aint the problem, Forge doesn’t load in and the crash says that my system ran out of physical memory, which I think means I didn’t have enough allocated.
I cannot answer your question because I don't know how much memory precisely the modpack is using, you'd need to post screenshots of the debug screen so we can have a look to see what is going on.
With your brothers laptop having only 8gb of RAM, it wouldn't be wise to allocate 8gb to Minecraft, you could only safely allocate 4gb at most.
I mighht sound like I dont know anything, but what do you mean by debug screen? And, your saying my brother cant run it? If it will need to allocate 8+GB?
if your brother only has 8gb of RAM in his laptop then I wouldn't advise allocating 8gb because you need some memory for the operating system and background applications. At this point if your brother is finding himself in need of 8gb for a modpack in Minecraft then you should be looking into upgrading the laptop to 16gb.
Don't jump to conclusions though, test it, start with allocating 4gb then use the Alt + F3 keys to get the debug screen up to look at how much memory is being actively used at the right top corner of your brothers laptop display. Not all performance problems are caused by running out of memory.
Lag can happen for many reasons, such as the RAM speed issue I've explained to you before,
or perhaps it might be the CPU or GPU that is the bottleneck, it is up to you to figure it out, you asked the question but without more details we can't help you.
Do you mean a report like this? That means that you've allocated more memory than your system can handle - the solutions are to allocate less memory, close unnecessary programs, upgrade your system, and/or use less mods (personally, I find the memory usage of modern mods to be unbelievable; I can run my own self-modded version perfectly fine at all settings with just 512 MB allocated, and while this is considered a "single" mod so could a mod that adds just one thing, or 1000).
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
Ahh ok, thanks so much for helping! I had allocated too much RAM to it, and when I lowered it (to 8GB from 15GB) it worked fine!
I dont know how you run in 512MB though, do you have high speed RAM?
Memory speed and memory quantity are two completely separate things; 512 MB is enough because 1.6.4, and my own self-modded version based on it, is extremely memory-efficient compared to modern versions, which are coded with no regard to memory allocation, as the creator of Optifine explains here (this has only worsened since 1.8); by contrast, this was taken at max settings in a "mega forest" biome full of massive trees up to 64 blocks tall; nor have I seen any changes to memory usage while working on a massive update (it adds 220 new blocks and items alone, not even counting every sub-variant, 39 entities/new variants of, 27 new biomes, and more).
This is also why I previously said that the memory usage of modern mods was unbelievable, they seem to require 10-100x more memory to add the same content, then again, they are based on Forge, which itself is extremely memory-inefficient due to the way it interfaces with the game (my own mods directly modify the vanilla code while Forge relies on indirect means which add a lot of overhead); "vanilla by itself is more efficient than even Forge+FoamFix". Unfortunately, FoamFix hasn't been updated since 1.14 as it claimed to reduce memory usage by 50%, but the fact that Forge and Foamfix by themselves are worse than vanilla is telling - this is also why you should never use Forge to run Optifine if it is the only mod you are using. There are optimization mods for newer versions, such as "Sodium", though they don't always focus on memory usage (Sodium appears to mainly be a graphical optimization mod, though it does mention decreasing memory usage), and they may cause issues with other mods due to their invasive nature.
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
You're welcome, also as TMC suggested close unused apps while gaming helps.
Normally 16gb of RAM would've been childs play for Minecraft, but you're running it with mods on your PC.
I game on a PC that has this much RAM but runs at 2400mhz, although I'm not playing modded currently,
I'm playing vanilla Minecraft on bedrock edition, it would be impossible for memory to be an issue for me because I always close unnecessary apps.
as you've figured out for yourself RAM in your PC is used for much more than just your game,
you've got to think of it like a pie chart, every application and your OS you're running needs a slice of that pie and it's not good practice to allocate your total system memory to one application because then you end up with out of memory errors and crashes.
Yeah, I went on task manager, and my OS+Antivirus were using 3.5 gigs anyways :/ I might try playing some 1.6.4 again now
As I suspected, on idle my system is using about 4gb, I use a RAMdisk software too which is free and great for boosting temp file access/writes.
Generally speaking Minecraft will never be able to take full advantage of a system with 16gb unless it is heavily modded and with high resolution texture packs and shaders, or if it's a vanilla server with lots of active players.
even then it's not a good idea to fill your RAM to the brim because then what ends up happening is your OS begins using virtual memory, fake RAM on your hard disk or SSD, which is a lot slower.
Same reason why PC's with 8gb of RAM become a little sluggish when they start peaking at 6+gb memory usage,
the hard disk is being used to store the overflow but is being constantly accessed, and that can cause lag if not outright crash your system.
Have fun.