TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
-
HCCKPM_2020
- Newbie
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
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
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
Post
by HCCKPM_2020 » Tue Sep 29, 2020 4:52 am
Any ideas on that?
Best regards,
HCC/KPM
-
Marc
- Site Admin
- Posts: 1272
- Joined: Thu Oct 16, 2003 4:00 am
- Location: Girona
-
Contact:
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
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
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: 1603
- Joined: Fri Nov 15, 2002 12:00 am
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.
-
HCCKPM_2020
- Newbie
- Posts: 25
- Joined: Wed Jul 01, 2020 12:00 am
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: 1603
- Joined: Fri Nov 15, 2002 12:00 am
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.