Runs on Xeon 5140 / 2 GB RAM / Windows XP
Workspace contains Market Analyzer with 30 instruments, DOM and 3 linked charts
Monitoring Memory and Swap File used by NinjaTrader with the Windows Task Manager
Ninja starts. Memory use by NT 150,000 k. When I scroll through the charts, memory required by NT builds up to over 550,000 k and stays at that level. The swap file also increases from 600,000 K to 1,100,000 K.
When NT required memory exceeds 500,000 k, some charts show false volume and price spikes. Cannot be removed by reloading data or chart templates.
Only thing to do: close NinjaTrader and restart. All the charts are fine again. As memory utilisation gradually builds up with each chart viewed, corrupted charts will reappear.
The whole problem looks like a garbage collection issue. As this is done automatically by .NET environment, some hidden Ninjas are possilby processing the chart data, even when the chart is no longer viewed, thus preventing C#/.NET do to the clean up. This morning I had a similar problem, when NT loaded daily data, although my workspace only contained intraday charts (but a closed workspace simewhere contained daily charts, encouraging NT also to upload daily data).
By the way, I do not think that the problem goes away, if I upgrade to 4 GB RAM, as I still have about 800 MB RAM spare capacity, when NT memory requirements run high.
Does anybody have any suggestions?

Comment