Export to PDF: Out of memory Error
I have a large report, i know it is a bit weird but i have to implement it, the report has ~ 25.000 pages and it opens in preview mode. But when i try to export it to PDF, that's the way we want to present all the reports in our application, i get an Out of memory Error, or an access violation (null pointer).
I noticed that it always throws the error at ~18.000. (18.687,18.689)
Is this machine specific, i have 4GB RAM and lots of free space on my hard drive
The process takes ~ 1.869.328 K,
RAM is used ~ 3,2 GB overall so this is not the problem.
UseFileCache is set True,
I ve set MaxMemSize to 20, no difference,
I ve tryed to set DataOnly on the TfrxPDFExport-er to true, no difference
The design is totaly minimalistic...
Is there anything else i can do, to get this large report exported, or do i have to split it in smaller pieces, but we don't want to do that.
thanks, Jan
I noticed that it always throws the error at ~18.000. (18.687,18.689)
Is this machine specific, i have 4GB RAM and lots of free space on my hard drive
The process takes ~ 1.869.328 K,
RAM is used ~ 3,2 GB overall so this is not the problem.
UseFileCache is set True,
I ve set MaxMemSize to 20, no difference,
I ve tryed to set DataOnly on the TfrxPDFExport-er to true, no difference
The design is totaly minimalistic...
Is there anything else i can do, to get this large report exported, or do i have to split it in smaller pieces, but we don't want to do that.
thanks, Jan
Comments
Did no one had a similar problem?
Does anybody know a way to create very large reports in delphi, with the possibility to export to pdf?
thx, Jan
There is a memory leak in frxUtils.DrawBitmap procedure.
DeleteDC is missing from the end of the procedure.
The corrected version:
FastReports 4 Ebarcadero Edition (4.11.17) and Fast Reports 4 (Demo version 4.11.17)
as far as i know there are no sources included in this releases, is there a way i can test your solution with DeleteDC for our problem?
If we can export reports that are about 25000-30000 pages to PDF (on 32 bit) with FastReports we will buy your components.
Please let me know if there is a way to test this fix?
thx Jan