I've been putting together my own collection of 1.7.10 mods for playing Minecraft. Recently, I've noticed it uses almost all of my 13 GB of available RAM, even though it is saying it is using 2-2.5 GBs. My guess is that this is because one of my mods is experiencing a memory leak, causing the ballooning in RAM usage. However, I am having trouble finding a way to learn which, since I don't have enough RAM left to start any other processes once Minecraft is up and running. Also, I can't feasibly solve this with trial and error, since I have 112 mods installed.
My question is, how can I pinpoint the mod that is causing this issue? My constraints are that I cannot use trial-and-error and that I cannot start any processes after Minecraft has fully loaded. That would result in a forking error.
Here's a list of my installed mods, a la Pastebin: http://pastebin.com/5Q7LGhs3
top
in a Terminal session. This shows how much memory is being used total, as well as how much certain programs are using. Minecraft is show to, and tells me that it does, jump between 2 and 3 GBs of RAM. However, once it has fully started up, my RAM usage jumps from 3GBs to nearly 16 GBs.