Open jrhegd opened 6 years ago
Not the only pack with this issue. Possibly a java issue after a recent update. Stoneblock also has this problem, however server systems don't have the same issue.
Just to add: could also be due to changes in the MC launcher as one day I'm fine on 1.3.1 and the next I can't do anything 20 mins after starting the game. All on the same version. Other players on my server started having the same problems.
Not the only pack with this issue. Possibly a java issue after a recent update. Stoneblock also has this problem, however server systems don't have the same issue.
Just to add: could also be due to changes in the MC launcher as one day I'm fine on 1.3.1 and the next I can't do anything 20 mins after starting the game. All on the same version. Other players on my server started having the same problems.
By MC Launcher 1.3.1, do you mean the Mojang MC Launcher by the Twitch client? If so, I do doubt this as I am using MultiMC which according to the Minecraft launch process uses a modified version of the old java launcher. If in the rare chance that somehow a wrapper for a java execution command is the issue, it'd be odd that both a modified java launcher and the Mojang launcher's recent versions somehow cause the same issue. In terms of Java, it would be interesting to test. If this is the case, it is a bit strange that it supposedly works for both Oracle and OpenJDK. I'll see into testing some older versions of OpenJDK 8 and see if anything changes.
I believe no matter what launcher you use, it downloads files at the very beginning of loading to verify things and possibly do spot-updates on various game files. Could've very well happened with that.
Something anecdotal thus far as I have not finished testing, but it seems that the memory leak slows down a lot with the proprietary Java JDK 8 u121. As said, I am still testing with this and other versions to get a more clear picture and to eliminate variable changes, but using a stale version of java 8 may help to fix the issue.
Modpack Information
Issue Description
This modpack contains a memory leak that I am unable to determine the root source of. The game will constantly eat more memory (about 15-20MBs per second) until either my entire userspace gets sent to SWAP or if SWAP is disabled, the kernel kills the process. I have searched the process for Heap, Metaspace, and Stack space memory pools for leakage via VisualVM and have been unable to find anything.
Reproduce Steps
System Information:
os: Manjaro Linux x64 kernel: 4.17.19-1 MANJARO memory: 16057MiB total available java version: openjdk-1.8.0_u181 launcher: MultiMc 0.6.2 mmc settings:
Steps:
Additional Information
All The Mods 3 had a similar issue to this pack, where it had a memory leak. However, it was confirmed to be in the stack space as applying -Xss4G to launch arguments would crash the game instead of sending half of the userspace to SWAP. Doing the same to this pack just results in the game starting to stutter, but keep going while eating the entire system's memory pool.