You can do this, to an extent, with any Java Profiler, like JProfiler. I suggest at least a little bit of understanding of how java and the JVM work or you may not understand what certain things mean.
Also, the impact of mods on RAM is not a great concern. Their impact on your CPU, however, is.