Had this exact same problem today and got the same run around from Ninja.
I am still on 8.0.3.1 64-bit (Standard) - but I did overcome memory issues using brushes in onrender ()
instead of using a
SharpDX.Direct2D1.Brush
and always doing it's .dispose() as suggested by Ninja support,
I found I could use
PlainTextColor.ToDxBrush(RenderTarget)
in it's place.. for example
RenderTarget.DrawText(lable, footPrintBarTextFormat, new SharpDX.RectangleF(x-adjust_len, curYlocation, (float)((lable.Length*textFont.Size)), (float)(0-rectangleOffset)), PlainTextColor.ToDxBrush(RenderTarget));
doing this stopped the RAM consumption issue I faced
I defined these color items globally like this
System.Windows.Media.Brush PlainTextColor;
in the OnStateChange method in the State.SetDefaults section I then defined the color
PlainTextColor = Brushes.WhiteSmoke;
I am not doing any .dispose using this approach and onrender draws as required
based on your input, I may wait to see if another update comes along before upgrading
Thanks a lot for your hints and advice. I discovered such strange behaviours also - so I decided to stop migrating to NT8 already some weeks a ago until it gets more stable
Thanks for great tips!
Thanks
I have been suffering from this memory leak issues since I moved to NT8, it bloats and consume all of my PC memory especially at the open. There is no solution from NinjaTrader other than asking for log files and keeping my PC open all day for their remote connection. Unfortunately I can't go back to NT7 and I have been installing all of their updates, but nothing fixed yet. I am really frustrated. Its bit consoling to know that I am not only one. I thought, Some of my indicators have issues.
Thanks very much for this post. I hope Ninjatrader consults with you on a regular basis....seems they need your expert help! I Appreciate all you do!
Thank you very much for this information.
I am neither a programmer or beta tester, just a simple user that requires a smooth function of the platform. For the technically ignorant like me every little problem becomes an almost insurmountable barrier but it warms my heart to see knowledgeable people like you looking over for the rest of us.
The sentinels at the gate, sort of.
Also, reading your explanations sends a little clarity my way.
In any case, I want to express my gratitude for all the work done and continue to do by you and others
that benefits us all.
Ninja Trader would not be the same without your contributions.
Good job, Sim. I do appreciate it.
Switching to the 32bit version will remove most issues vs. the 64bit