Metatrader Strategy Tester Agents - Out of Memory

 
I have an 88 core server with 64 GB of ram. I know I need more ram but several hours after testing the agents are still using memory with no activity. Is there a memory flush for each agent after tasks are completed?
 

to fix this i just restart the agents nightly.

if that doesnt free up the ram, destroy and recreate the agents.

seems to be a memory leak or something because after about a week of running agents my computers ram is entirely used by idle agents.