Memory Leak GDI+
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Memory Leak GDI+
I'd removed the line IXORCanvas:=TTeeCanvas3D.Create from InitWindow and put in the Constructor Create and trouble keep on.
What should I do now? Any solve else?
I'd sent a print screen from MM4.
thanks
What should I do now? Any solve else?
I'd sent a print screen from MM4.
thanks
- Attachments
-
- print screen of the Application and MM4
- email-memory-leak-tchart.jpg (164.99 KiB) Viewed 6364 times
Re: Memory Leak GDI+
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
I´m using the >>>TeeChart Pro 2010 Full Source Code >>>Version 0.4455.0.0 and like you can see the Memory Leak keep on. Have you see the atachment file (print mm4) wich I sent you?
Re: Memory Leak GDI+
Hi Fausto,
You may be doing something different than me. Here is what I'm doing:
Could you please modify the example above so we can reproduce the error here?
You may be doing something different than me. Here is what I'm doing:
Code: Select all
uses Series, TeeGDIPlus;
procedure TForm1.FormCreate(Sender: TObject);
var FGDIPlus: TTeeGDIPlus;
begin
with Chart1.AddSeries(TBarSeries) as TBarSeries do FillSampleValues();
FGDIPlus := TTeeGDIPlus.Create(Self);
FGDIPlus.TeePanel := Chart1;
ReportMemoryLeaksOnShutdown := True;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
If you change the transparency of the WALLS you can memory on. In your example you forgot put the GDIPlus (Active = True).
I'd attached other example. I my example you should use the ROTATE TOOL and you can see the memory usage UP and UP UP UP UP.
delphi7
I'd attached other example. I my example you should use the ROTATE TOOL and you can see the memory usage UP and UP UP UP UP.
delphi7
- Attachments
-
- MEMORY leak_FAUSTO.rar
- example in delphi7 with WALLS (transparency 70%) and memory leak on
- (29.67 KiB) Downloaded 209 times
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
In transparency in SERIES I´d found problems too
Re: Memory Leak GDI+
Hi Fausto,
I could reproduce the problem with the latest published version but with the actual sources it seems to work fine.
So it's with most probability related with the problem discussed here and here (TV52014993). It has been already fixed for the next maintenance release.Fausto Jr. wrote:I my example you should use the ROTATE TOOL and you can see the memory usage UP and UP UP UP UP.
I could reproduce the problem with the latest published version but with the actual sources it seems to work fine.
Could you please explain us how can we reproduce it?Fausto Jr. wrote:In transparency in SERIES I´d found problems too
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
When the next release will be available? I nedd this urgently.
Here the problem has been reproduced with the code:
///////////////////////////////////////////////////////////////////////////
uses
Series, TeeGDIPlus;
procedure TForm1.FormCreate(Sender: TObject);
var
FGDIPlus: TTeeGDIPlus;
begin
with Chart1.AddSeries(TBarSeries) as TBarSeries do FillSampleValues();
TBarSeries(Chart1.Series[0]).Transparency := 50; // THIS LINE INVOKE MEMORY LEAK (USE ROTATE TOOL TO SEE MEMORY USAGE UP UP...)
FGDIPlus := TTeeGDIPlus.Create(Self);
FGDIPlus.TeePanel := Chart1;
FGDIPlus.Active:=true;
end;
///////////////////////////////////////////////////////////////////
Here the problem has been reproduced with the code:
///////////////////////////////////////////////////////////////////////////
uses
Series, TeeGDIPlus;
procedure TForm1.FormCreate(Sender: TObject);
var
FGDIPlus: TTeeGDIPlus;
begin
with Chart1.AddSeries(TBarSeries) as TBarSeries do FillSampleValues();
TBarSeries(Chart1.Series[0]).Transparency := 50; // THIS LINE INVOKE MEMORY LEAK (USE ROTATE TOOL TO SEE MEMORY USAGE UP UP...)
FGDIPlus := TTeeGDIPlus.Create(Self);
FGDIPlus.TeePanel := Chart1;
FGDIPlus.Active:=true;
end;
///////////////////////////////////////////////////////////////////
- Attachments
-
- properties of the release
- FileTeeChart2010SourceCode PROPERTIES.JPG (27.22 KiB) Viewed 6254 times
Re: Memory Leak GDI+
Hi Fausto,
As you are source code customer, I've sent the actual sources to the mail you have registered in this forums.
Could you please check if they correct the problem?
As you are source code customer, I've sent the actual sources to the mail you have registered in this forums.
Could you please check if they correct the problem?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
Could you re-send me the email? I changed my email because the older was written wrong.
Apologies!!!
Apologies!!!
Re: Memory Leak GDI+
Hi Fausto,
Just done!
Just done!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 8
- Joined: Fri Jul 09, 2010 12:00 am
Re: Memory Leak GDI+
Yeray,
Thanks a lot buddy. Now, it's stable. And my boss is very happy.
Thankful,
Fausto Jr.
Thanks a lot buddy. Now, it's stable. And my boss is very happy.
Thankful,
Fausto Jr.
Re: Memory Leak GDI+
Hi Fausto,
I'm glad to hear it!
Boas tardes!
I'm glad to hear it!
Boas tardes!
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |