"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 2:13PM
    Try to set TfrxReport.EngineOptions.UseFileCache to True and use latest FR 4.15.13/6.2

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.