Memory leakage with XE4 and GDI
Posted: Mon Jun 17, 2013 10:31 am
Actually I move a previous project to XE4.
The program reports a memory leakage at shutdown:
Changng all charts to GDI+ removes the memory leakage, no message then
But I prefer to use GDI. How to fix?
Regards
Uli
The program reports a memory leakage at shutdown:
I have 3 charts defined in the program. Now I have found when adding a new chart and rendering 3D with GDI the memory leakge increases from x3 to x4.An unexpected memory leakage has occurred. The unexpected small block leaks are:
85 - 92 bytes: TTeeGradient x 3
349 - 380 bytes: TTeeCanvas3D x 3
The sizes of unexpected leaked medium and large blocks are: 262700, 262700, 262700
Changng all charts to GDI+ removes the memory leakage, no message then
But I prefer to use GDI. How to fix?
Regards
Uli