Hello, So I am running a 64 bit system and I downloaded the java Windows 10 offline 64 bit. However whenever I go to configure Java, it states its a 84_64 bit. Which is weird. Now why I bring this up is I would like to have Minecraft eat up more Ram. As I did put -Xmx7G into the JVM arguments for 1.7.10 Forge 10.13.4.1614. When I load up my modpack which is roughly 100 mods. It says I have the 7 Gigs of memory. However underneath it's only Allocating 2.5 Gigs, and im getting a good 10 FPS. What's the issue and I can provide screenshots.
Memory Rule #1: NEVER allocate more than half your PC's system RAM to MC.
Second, the amount of memory to allocate depends on the version of MC. Older versions (1.7 or older) don't require as much memory. 1.7.10 can run just fine with 2-3G (depending on the modpack).
Newer versions of MC (1.8+) do require more memory allocated, usually 3-4G range. Modded 1.12.2 usually requires more than that, 4-6G sometimes.
Check you launcher Settings and make sure its using the version of Java installed on the PC. The Mojang launcher defaults to the version of Java installed with the launcher.
Rollback Post to RevisionRollBack
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far."
The game only uses as much memory as it needs, and more memory actually worsens performance since the JVM needs to spend more time managing it:
2. Why not give it more memory? Let's give Minecraft 4 GB of RAM to play with. This would need a PC with at least 8 GB RAM (as the real memory usage is almost double the memory visible in Java). If the VM decides to use all the memory, then it will increase the time between the garbage collections (20 sec instead of 4), but it will also increase the garbage collection time by 4, so every 20 seconds there will be one massive lag spike.
This is partly why I only allocate 512 MB myself, which is more than enough for 1.6.4, even modded and on higher settings (with my own highly optimized non-Forge mods; Forge and most mods are coded extremely badly, even worse than vanilla since 1.8, which is why they need such insane amounts of memory - there is simply no sane explanation for needing even 1 GB for any sort of modpack). The game is otherwise not written to make use of any additional memory; it doesn't keep more chunks or other data loaded or anything and any apparent increase in memory usage is due to the JVM being lazy about cleaning up unused objects. if anything, you want to make sure you have enough free system memory so the OS itself can cache frequently accessed files, greatly speeding up disk access.
Thanks man. I managed to fix it. Just by changing the Ram to 3GB. Which bumped me to 55fps. Do you know of any mods that allow one and only one structure(schematic) to spawn near the world spawnpoint upon creating a new world. I'm working on this modpack and would like a NPC to spawn being a guide or intro to the pack.
Hello, So I am running a 64 bit system and I downloaded the java Windows 10 offline 64 bit. However whenever I go to configure Java, it states its a 84_64 bit. Which is weird. Now why I bring this up is I would like to have Minecraft eat up more Ram. As I did put -Xmx7G into the JVM arguments for 1.7.10 Forge 10.13.4.1614. When I load up my modpack which is roughly 100 mods. It says I have the 7 Gigs of memory. However underneath it's only Allocating 2.5 Gigs, and im getting a good 10 FPS. What's the issue and I can provide screenshots.
Memory Rule #1: NEVER allocate more than half your PC's system RAM to MC.
Second, the amount of memory to allocate depends on the version of MC. Older versions (1.7 or older) don't require as much memory. 1.7.10 can run just fine with 2-3G (depending on the modpack).
Newer versions of MC (1.8+) do require more memory allocated, usually 3-4G range. Modded 1.12.2 usually requires more than that, 4-6G sometimes.
Check you launcher Settings and make sure its using the version of Java installed on the PC. The Mojang launcher defaults to the version of Java installed with the launcher.
"We live on a placid island of ignorance in the midst of black seas of infinity, and it was not meant that we should voyage far."
The game only uses as much memory as it needs, and more memory actually worsens performance since the JVM needs to spend more time managing it:
https://www.minecraftforum.net/forums/minecraft-editions/minecraft-xbox-360-edition/mcx360-discussion/2513182-why-the-console-editions-is-the-forgotten-dinosaur?comment=22 (in this example FPS decreases from 144 FPS with 512 MB allocated to 123 FPS with 4 GB allocated)
This is partly why I only allocate 512 MB myself, which is more than enough for 1.6.4, even modded and on higher settings (with my own highly optimized non-Forge mods; Forge and most mods are coded extremely badly, even worse than vanilla since 1.8, which is why they need such insane amounts of memory - there is simply no sane explanation for needing even 1 GB for any sort of modpack). The game is otherwise not written to make use of any additional memory; it doesn't keep more chunks or other data loaded or anything and any apparent increase in memory usage is due to the JVM being lazy about cleaning up unused objects. if anything, you want to make sure you have enough free system memory so the OS itself can cache frequently accessed files, greatly speeding up disk access.
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?
Thanks man. I managed to fix it. Just by changing the Ram to 3GB. Which bumped me to 55fps. Do you know of any mods that allow one and only one structure(schematic) to spawn near the world spawnpoint upon creating a new world. I'm working on this modpack and would like a NPC to spawn being a guide or intro to the pack.