However, now I see two messages on the lower left side of the Control Center -- "Disconnected - CQG" in gray followed by a green "Connected - CQG". Strange.
And after about 10-minutes, more memory was given back (total use dropped to a more reasonable 262.4MB - I still have 10-charts loaded each with a number of indicators of varying efficiency.)
Doing the historical data downloads one-at-a-time (boring) seems to work OK - i.e., no additional hangs (and note, I did NOT restart NinjaTrader from the above posting, although I wouldn't want to do this with a system we were actually using to place live trades from.)
When I loaded the 6E 06-11, the memory use jumped up to 577.3MB but dropped back to 258.3MB when that download finished. Most of the other downloads didn't use more than 50MB or so. When I got to downloading the ES 06-11memory use went from 254.2MB up to 975.2MB at its peak. This is for downloading the prior 3-months of data. Apparently this download historical data is done all into a single buffer, and it doesn't get segmented at all, so it hangs when/if there isn't enough memory left to load packets that are coming in. And this part of NinjaTrader isn't smart enough to just abort the process at this point and give a reasonable error message.
There... I've debugged it for you (free service from me to you as usual - I used to get paid for this kind of stuff before I started "playing" with NinjaTrader - I hope you put it to good use and just fix it. You're welcome.) (And "no" I'm still not willing to move to Denver to work for $25/hour.)
Comment