PDA

View Full Version : found a way to crash strategy trader - leave output window open in optimizer


scriabinop23
06-05-2007, 09:34 PM
I have a strategy that outputs a line every occurence on onbarupdate() to the output window. When running this thru the optimizer this while output window is open on a large variable array, .NET runs out of memory and the application crashes.

I suggest maybe when running this having a maximum size of output window history (ie 10000 lines or something like that), and dump excessive old data.

NinjaTrader_Dierk
06-06-2007, 12:47 AM
Thanks for your suggestion. We'll add it to the list.

NinjaTrader_Dierk
06-06-2007, 01:27 AM
Your suggestion will be implemented with next update. Thanks for bringing up this issue.