RAM and PL.NET Studies

Questions about MultiCharts .NET and user contributed studies.
kohandrew
Posts: 4
Joined: 29 Jan 2015

RAM and PL.NET Studies

Postby kohandrew » 29 Jan 2015

Dear support MC, Please tell me how to solve my problem.

I have a problem with the RAM when using Custom Signals PL.NET
I`m using Drawing, DataLoader and Bars in signals and I leaking gigabytes of RAM. I tried to solve the problem debug Visual Studio, but there is very little busy memory I created objects.

P.S. I noticed that if you make a calculation of the same period on the same code in indicator studies type, the memory is filled with a little less, and after removal indicator from chart is completely cleared RAM.

Please help to understand the reason.

User avatar
Henry MultiСharts
Posts: 9165
Joined: 25 Aug 2011
Has thanked: 1264 times
Been thanked: 2957 times

Re: RAM and PL.NET Studies

Postby Henry MultiСharts » 04 Feb 2015

Hello kohandrew,

If memory is cleared after studies are removed then the issue is in the code. Please make sure you call EndLoadData() after you are done with the DataLoader (if you are using CustomInstrument you need to call Dispose()) and try to narrow down the parts of the code that are causing the issue.


Return to “MultiCharts .NET”