It looks like Smart Grid leaks memory when optimizing even when news manager features are turned off.
Parameters used (optimizing on USDJPY, using AXIORY cTrader 4.1.9.49625):
All remaining settings (telegram related) is on "No".
I'm aware that it's a lot of parameters checked, but none of them are known to be causing the memory leakage(?).
The memory manager doesn't really work in this case as while the used memory is being reduced, the "committed" memory is not being actually freed. You can check those figures using Task Manager. Even when there are still free physical memory, the system would be in out-of-memory state if the committed memory is full as the system could not allocate more memory.
Note that only Smart Grid is showing this issue, the Neptune series are unaffected. I've been optimizing for thousands of passes for Neptune bots and the memory used is pretty stable.