v5.2.8 Delphi XE7 PDF Export Memory Leaks
Polomint
Australia
FYI I have raised a ticket on FR5.2.8+ / D21 for consistent memory leaks on app closure after one or more FR->PDF exports.
The leaks seem to be a new problem, as they weren't evident in FR5.2.4 (and FR5.2.7 caused AVEs).
Cheers, Polomint
UPDATE:
Still a problem with FR5.2.10 - FR5.2.17
The leaks seem to be a new problem, as they weren't evident in FR5.2.4 (and FR5.2.7 caused AVEs).
Cheers, Polomint
UPDATE:
Still a problem with FR5.2.10 - FR5.2.17
Comments
I think that someone do not bother because it took me half a day to patch it in 7 places and memory leaks are gone.
There are more GetMemory() stored in the same pointer TfrxPDFFont.FontData and only one FreeMemory() at the end.
Also TrueTypeFont.Indices is not freed.
Best regards,
Cristian Peta
I don't have the source, so am unable to fix this myself!
But currently I have no leaks and it is in production and stable. I don't need troubles.
Best regards,
Cristian Peta
I note that 5.2.17 is much the same as 5.2.15...
From my tests, the problem still exists in 5.2.18 also (in D2007 at least)
And it is still present in 5.3.0 [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> I note also that the D2007 compiler raises several warnings in regard to loss of information due to "narrowing" of widestring constants in frExportPDF.pas ...[/img]
I tried it today and reliazied that none of my pdf exports workded corectly. (All the letters was replaced with dots ".")
Of course the fonts i use are common windows fonts.
If so I think it is a new issue, because my limited testing of 5.3.3 suggests the original leak problem (that I created this topic for) has now been fixed.