Lag when staying on a scene too long - Memory Leak

Hi. Whenever I run a single scene for above 20 minutes, it starts to lag. This happens for maps, battles, shops, and other menus. When I leave the scene to another, the lag disappears. When I return to the same lagging scene again after, the lag is also gone.

Since I have lots of plugins, turning on and off different ones and waiting 20 minutes to check for lag will be difficult. How do I determine which function is causing the lag through the console?
There's a performance and a memory tab you can check.
For example, take a memory profile snapshot at the beginning, let the game runs for 20 minutes and take another snapshot, then compare which objects increase.
Are you using SRD HUDMaker?
@utunnels : Thank you!

@AquaEcho : I don't have SRD HUDMaker

Original thread: https://forums.rpgmakerweb.com/threads/lag-when-staying-on-a-scene-too-long-memory-leak.175588/