RAM usage

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord
D

Dermarv03

Guest
I search for threads about RAM allocation here and don't see anything current. The launcher recommends 4GB minimum for the modpacks, but if you use a performance app like CAM for PC, you will see usage go up to 12GB once all mods and textures are loaded for e.g. the DW20 1.10 pack. I watch the pack load and the CPU work hard to write the data into RAM while the GPU does little. My own i7-4770 oc'd and 16GB of RAM give me a solid 60fps on this pack with the SOARTEX FANVER resource pack. My sons laptop with a i7-4700HQ and 12GB and GTX 860M really struggles, but I'm going to see if another 4 gigs of RAM will fix that.
 

Hambeau

Over-Achiever
Jul 24, 2013
2,598
1,531
213
If you are using 1.10.2 packs, as your mention of DW20 implies, the minimum ram allocation suggestion has changed from about 4GB to about 6GB, not counting textures and resource packs.

Also keep in mind that you cannot compare Desktop (assuming that your system is one) and Laptop performance. Desktop components are generally designed with the idea that you have plenty of power and cooling available, while Laptops are designed with Low Power (Battery life) and low temperatures being important... As a result Laptops generally do not run at the full speed that a Desktop can attain.
 
  • Like
Reactions: Dermarv03

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
There is a big difference between Javas (required) memory allocation, and the systems require RAM load. The -Xmx:4G parameter tells Java how much memory to make available for java object creation, but does not in any way effect the memory requirements of OpenGL textures, sound assets controlled by native sound players etc.
If the -Xmx:?? allocation is too small, java will typically fail to load the modpack entirely or crash out randomly as mod pack object creation requirements peak. You can monitor this by pressing F3 and watching the allocated/used memory counts at the top right of the screen, and adjust Xmx to be larger if the used memory approaches too close to the max.
On the other hand, if your Xmx allocation is "too large" then you have committed memory to java that might, instead, have been used to cache video textures, so a too large allocation there can actually impede system performance: If you are running custom texture packs and/or shaders than having additional system RAM available for all pruposes can be helpful, but really when performance on a laptop suffers it is usually because the laptops use low performance video hardware by default...

Many laptops in fact have dual video chipsets - a low power chipset used for most software and rendering and a chipset activated for "performance" software like games - this one uses a lot more power and runs hotter and will drain the battery that much faster. Most laptop video drivers detect which kind of software is being used by looking at the process name (name of the .exe) and as minecraft is a java app, and java is usually used for enterprise software development, detect "java.exe" as something that should use the low power chipset. These laptops usually come with an extension to the video settings that lets you add games (by exe name) to a list of "high performance" titles - if you have this kind of laptop finding and setting this might have some benefit.

More usually however, Minecraft is simply limited by the performance of the graphics chipset on laptops and you just need to go and turn Minecrafts graphics settings from "Fancy" to "Fast" and turn Lighting either off, or to its lowest setting (which is still, usually, quite good). Using a texture pack is just a no-no.
 
  • Like
Reactions: Dermarv03
D

Dermarv03

Guest
There is a big difference between Javas (required) memory allocation, and the systems require RAM load. The -Xmx:4G parameter tells Java how much memory to make available for java object creation, but does not in any way effect the memory requirements of OpenGL textures, sound assets controlled by native sound players etc.
If the -Xmx:?? allocation is too small, java will typically fail to load the modpack entirely or crash out randomly as mod pack object creation requirements peak. You can monitor this by pressing F3 and watching the allocated/used memory counts at the top right of the screen, and adjust Xmx to be larger if the used memory approaches too close to the max.
On the other hand, if your Xmx allocation is "too large" then you have committed memory to java that might, instead, have been used to cache video textures, so a too large allocation there can actually impede system performance: If you are running custom texture packs and/or shaders than having additional system RAM available for all pruposes can be helpful, but really when performance on a laptop suffers it is usually because the laptops use low performance video hardware by default...

Many laptops in fact have dual video chipsets - a low power chipset used for most software and rendering and a chipset activated for "performance" software like games - this one uses a lot more power and runs hotter and will drain the battery that much faster. Most laptop video drivers detect which kind of software is being used by looking at the process name (name of the .exe) and as minecraft is a java app, and java is usually used for enterprise software development, detect "java.exe" as something that should use the low power chipset. These laptops usually come with an extension to the video settings that lets you add games (by exe name) to a list of "high performance" titles - if you have this kind of laptop finding and setting this might have some benefit.

More usually however, Minecraft is simply limited by the performance of the graphics chipset on laptops and you just need to go and turn Minecrafts graphics settings from "Fancy" to "Fast" and turn Lighting either off, or to its lowest setting (which is still, usually, quite good). Using a texture pack is just a no-no.

Thanks. Great info that is much appreciated!


Sent from my iPhone using Tapatalk