The memory used for EA optimization in the MT5 strategy tester is abnormally large.

 
When I optimize my EA with MT5 strategy tester, the memory usage of my PC is close to 99%.
The memory on my PC is 64 GB.
Please allow me to specify memory usage.
Or reduce the memory usage.
 

Seems reasonable request. But it's not how it's designed, the MT5 Strategy Tester will use all the available resources if needed, so you would better use a dedicated computer if needed.

MQ has made this choice intentionally, so I doubt they will full fil your request.

 
Due to 64GB RAM I assume you have quite a lot kernels (real & hyper) in your CPU -  just disable some of them in the Tester's tab Agents. The tester could become faster if the PC has started to swap due to the 99% usage.