Further to my previous post, the problem is not just with imported macros, but can be reproduced
in MEP by running a repeat loop that calls another macro repeatedly as follows:
Create a macro using the code below, then create a second macro called "MySub".
The variable "MyVar" will always be zero so the macro will run indefinitely for this test.
The called macro "MySub" does not need any code in it (leave blank) for this demo.
Open the Windows Task Manager and watch the available memory decrease as the macro is running.
<REPEAT UNTIL Variable="%MyVar%" Condition="\x00" Value="1"/>
<MACRO RUN Use_ID="FALSE" Name="MySub" ID="-1" Wait="TRUE"/>
<END REPEAT/>