I'm testing a strat and I'm finding that NT (or me) has a memory leak. I say NT, because even after I close the analyzer the used memory is not recovered. I can only go through a few tests before it starts eating upward of 16 gig of ram. Even if I had a leak in my code (I don't see how, I'm not doing anything fancy), it wouldn't eat that much memory (wink, wink). Interestingly, when I run backtests instead of optimizations, the problem does not seem to occur as bad. It eats some memory, but when I exist the analyzer. It seems to recover.
More info. My strat loaded an indicator and calls AddChartIndicator in the state.config of onstatechange. I didn't have this problem in B10.
In any case, as it eats more memory, it become unstable until eventually, NT just crashes out.
Is anyone else seeing this?
Thanks ... Ed
Comment