"Out of memory" issue with multiple images

Hello,

I am using TfrxPictureView to put bitmaps into the report, and export it to PDF.

When i have 1000 bitmap records, i get "Out of memory" on PrepareReport call:

frxPDFExport1.Filename := AFileName;

{$IFDEF DEBUG}
frxPDFExport1.FileName := 'D:\POD\test1.pdf';
{$ENDIF}

frxReport1.PrepareReport(TRUE);
Codesite.SendString('status', 'prepare done');

frxReport1.Export(frxPDFExport1);
Codesite.SendString('status', 'export done');

Any ideas on how to go about such large reports?

Thanks.

Comments

  • gpigpi
    edited 10:16PM
    Try to set TfrxReport.EngineOptions.UseFileCache to True and use latest FR 4.15.13/6.2

Leave a Comment