If so, please comment these out to test.
Your last comment sounds like I would expect: It would build up as much memory as the system has. Once the framework realizes you're almost out of memory,it just buffers out what it needs through garbage collection. So yes, it will just keep operating. This is expected.
The main question though is, should it use that much memory? If using draw objects, it probably will use unnecessary memory resources. If not, I would recommend further optimizing your code using some of the recommendations here:
http://ninjatrader.com/support/helpG...niteration.htm
Leave a comment: