Tools and Tips for measuring MV Memory Usage

After making two MV games, it seems to me that sometimes the games will have spikes in memory usage, turning the computer hot and introducing lag.


The problem is I have no idea whether this is due to too many events? too big maps? plug-ins? or some other cause?


What are some tools or techniques that I can use to find out what is using up so much memory?


Thanks!
there is one remaining memory leak in the engine itself that will be fixed with the next update, but an unknown number of plugins still have memory leaks as well. But only the plugin writers can fix their plugins.


Events themselves can only cause lag, but not a memory leak.

Original thread: https://forums.rpgmakerweb.com/threads/tools-and-tips-for-measuring-mv-memory-usage.69798/