Yes, my script uses probably too much memory for a single process.
If I split the backtest into 2 parts (25 assets per run) it works.
But I think that there is also a memory garbage collection problem in ZT that you could correct:

if in the original script (with 50 assets) I use the following:
set(PARAMETERS+TESTNOW+PLOTNOW);
it shows the error immediatly when it start the test phase;

if in the same script I use:
set(PARAMETERS+PLOTNOW);
it complete the train. If then I close ZT and then I start it again and select "Test": It complete the Test correctly!

This means that if at the end of the train phase you call a garbage collection routine (but i don't know if you have it in C) you could probably resolve this problem.

thanks