Massive Memory Leak

  • Thread starter Thread starter YukiRyuu94
  • Start date Start date
  • Tech Support section is for getting help with FTB related problems. If there's a repeatable issue that can be labeled as a bug, then please use the issue tracker for the pack or the app at GitHub issue trackers - If there's no repository for a pack that means that the pack is old and/or will not be updated. Bugs for older packs will not be fixed, unless they are critical.
  • 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
Y

YukiRyuu94

Guest
Title:
Massive Memory Leak
Launcher Version:
1.4.12
Modpack:
FTB Infitity Evolved 1.7
Modpack Version:
(2.5.0) Added some mods as well
Log Link:
Details of the issue:
I have 8GB allocated to Minecraft. Every time I log on to my sever my ram usage slowly increases at a rate of about 1GB every 5-10 minutes . Task manager shows that it is increasing, however when I press F3 my ram usage from in game is only reporting roughly 3-4GB. There is no log to show since it did not crash. I have tried taking off journey maps and mystcraft neither of which helped. The mods I added were: Optifine, Thaumic Sanity, Garden Stuff , Metallurgy Core, Metallurgy, Enchiridion, and Mariculture-Deluxe.
 
8GB of RAM is more then you probably need. Lower the amount of RAM to 4GB as having more then 4GB allocated can cause problems.
 
I changed the allocation to 4GB, however the problem still exists. I did notice that it stopped when I went to the nether.
 
One thing to remember though about how java works is that the RAM usage will never stay the same. The RAM usage will go up and when it hits a certain point the garbage collection kicks in and the RAM usage will go down again. After this RAM usage will go up again and the process starts again . For as long as the amount of memory used does not stay at the point where the garbage collection kicks in even after it did its job or the program just simply runs out of memory that it can use there is no (serious) memory leak.

I mention this because I don't know if you where aware of this or not and if you didn't might have seen the normal increase of memory as a memory leak. Having said all the above, memory leaks aren't exactly uncommon in modded minecraft, sadly enough there isn't anything you can do about it. However most of the time it is triggered by something (switching dimensions for example usually/used to cause some memory to leak and if done often enough without restarting minecraft will cause problems in those cases.)