TeeChart Cleanup

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

TeeChart Cleanup

Post by HCCKPM_2020 » Mon Sep 28, 2020 12:00 pm

Hello,

we are searching for Memory Leaks in our appllication.
What else can be done to clear the data of a TeeChart Object which should be reused later?
Actually we do

Code: Select all

_maxChart.teeChart.Series.Clear(true);
_maxChart.teeChart.Tools.Clear(true);
Is there more what can be done?

System:
TeeChart Version 4.2020.5.25
IDE: VS2019
Language: C#
Windows 10 Pro 1909
Last edited by HCCKPM_2020 on Wed Sep 30, 2020 11:43 am, edited 2 times in total.
Best regards,

HCC/KPM

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeChart Cleanup

Post by HCCKPM_2020 » Tue Sep 29, 2020 4:52 am

Any ideas on that?
Best regards,

HCC/KPM

Marc
Site Admin
Site Admin
Posts: 1000
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: TeeChart Cleanup

Post by Marc » Wed Sep 30, 2020 10:13 am

Hello,

Garbage collection should handle most general objects itself but if you create any other specific items then you could choose to clear them, for example custom axes.

Are you experiencing any memory leaks issues that you think may be related to TeeChart? We can investigate if you consider that to be a possibility.

Regards,
Marc Meumann
Steema Support

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeChart Cleanup

Post by HCCKPM_2020 » Wed Sep 30, 2020 10:57 am

Hello,

yes, we think we are experiencing memory leaks within Custom3DGrid.
That's what it actually looks like in our App.
We will extract that part of code and go into the depth.
I will come back as soon as we have some results.
Thanks for your reply.
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeChart Cleanup

Post by Christopher » Thu Oct 01, 2020 7:06 am

Hello,
HCCKPM_2020 wrote:
Wed Sep 30, 2020 10:57 am
yes, we think we are experiencing memory leaks within Custom3DGrid.
If I'm not mistaken, this Custom3DGrid issue is covered in another thread here.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

HCCKPM_2020
Newbie
Newbie
Posts: 25
Joined: Wed Jul 01, 2020 12:00 am

Re: TeeChart Cleanup

Post by HCCKPM_2020 » Thu Oct 01, 2020 7:47 am

Yes, that's right.
In this thread I just asked for the possibility to delete objects in the right way.
After digging more in detail of this problem, I opened the second thread about this memory leak.
Any additional suggestions on how to clear an object?
Best regards,

HCC/KPM

Christopher
Guru
Posts: 1331
Joined: Fri Nov 15, 2002 12:00 am

Re: TeeChart Cleanup

Post by Christopher » Thu Oct 01, 2020 11:02 am

HCCKPM_2020 wrote:
Thu Oct 01, 2020 7:47 am
Any additional suggestions on how to clear an object?
As you can read in that thread, it does seem that use of the method Series.Clear() is sufficient.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply