Hi Aurel,
I've done lots of string tests, but no memory leaks detected so far.
2 Suggestions which will benefit your code:
First, use #autodim off. This will expose any variable which have not been formally dim'ed.
It is essential that string variables are not created in the middle of a loop.
Second, ensure that the RTL matches the compiler. Using an old RTL with a recent compiler could be very risky.
Meanwhile, I will continue string testing for leaks. I might also create a stringy interpreter to aid this process, since there are many o2 examples that use strings but none do so in a highly iterative manner.