FastMM4 reports a (significant) memory leak when TChart is saved as a PNG using TPNGExportFormat. A simple program that demonstrates the leak can be downloaded from:
http://www.cozmix.com/misc/TeePNGExport.zip
I hope it can be fixed!
CHeers,
Steve Maughan
PS A Hotfix would be great
Memory Leak when Exporting to PNG File...
-
- Newbie
- Posts: 13
- Joined: Mon Jun 25, 2007 12:00 am
Hi Steve,
What TeeChart version are you using? Here with the actual sources it seems to work fine.
Note that I had to add the TChart to your project and the FastMM4 at the beginning of your dpr.
What TeeChart version are you using? Here with the actual sources it seems to work fine.
Note that I had to add the TChart to your project and the FastMM4 at the beginning of your dpr.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 13
- Joined: Mon Jun 25, 2007 12:00 am
Hmmmm,
Hi Yeray,
Thanks for the note. I'm not sure what happened to the demo. I've corrected it by adding a TChart and the reference to FastMM4 - the same link will download the new version.
I'm using version 8.04.11395 with source code on a Vista x64 machine and Delphi Pro 2009. I'm amazed that you don't have the leak - it happens ever time for me. Can someone else see if they can reproduce it?
Thanks,
Steve
Thanks for the note. I'm not sure what happened to the demo. I've corrected it by adding a TChart and the reference to FastMM4 - the same link will download the new version.
I'm using version 8.04.11395 with source code on a Vista x64 machine and Delphi Pro 2009. I'm amazed that you don't have the leak - it happens ever time for me. Can someone else see if they can reproduce it?
Thanks,
Steve
Hi Steve,
Yes I've been able to reproduce this with Win2003 64bits and the 8.04 TeeChart installer. But then I've tried with the actual source code and it seems to work fine so, as you are a source code customer, I've sent to your registered mail account a link to download them. Could you please try if they work fine for you too?
Yes I've been able to reproduce this with Win2003 64bits and the 8.04 TeeChart installer. But then I've tried with the actual source code and it seems to work fine so, as you are a source code customer, I've sent to your registered mail account a link to download them. Could you please try if they work fine for you too?
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Newbie
- Posts: 13
- Joined: Mon Jun 25, 2007 12:00 am
It Works!!
Yeray,
The new source code fixes the problem!! Great!
Thanks,
Steve
The new source code fixes the problem!! Great!
Thanks,
Steve