PDA

View Full Version : Memory leak in NT7?


bluelou
05-19-2010, 06:40 PM
After each backtest NT7 memory consumption is increasing. I thought this was supposed to be resolved in NT7.

Here's what happened today: Started the day w/NT7 using 200,000K memory at start up. After about 10 backtest runs it was at 4,300,000K and the last backtest took about 20 minutes to run on 10 months worth of tick bars.

Upon subsequent reboots to try to reduce memory consumption, NT7 was already using 1,700,000K just at start up.

Is this the best we're likely to see out of NT7 or are other memory improvements coming?

NinjaTrader_Bertrand
05-20-2010, 08:21 AM
bluelou, are you using seeing the same with our SampleMACrossOver strategy? I tried various charts and intervals here on my end and could not reproduce a memory building up / leak issue....do you properly dispose any custom resources eventually used in your custom code?

bluelou
05-20-2010, 11:06 AM
Bertrand,
You may be right. I wasn't able to replicate the issue using the NT supplied strategies. I'll let you know how I end up resolving the issue.

Thx,
Lou

NinjaTrader_Bertrand
05-20-2010, 11:08 AM
Ok Lou, thanks for the update, please let me know how it goes.