Memory increase when viewing Preview with images

edited 12:21PM in FastReport 4.0
Hi,

I am noticing that when previewing a report memory used by the application increases per page. It increases much more when the page about to be viewed has many images on it (as added from the DB). I have seen the memory gets as high as 600MB when previewing and viewing the pages. On a users machine, the memory usage for the app went up to 1.6GB and they got a 'not enough storage to process this command' error is there a way of minising this.

Thanks
Rudy

Comments

  • edited 12:21PM
    Set some Reprort option to use file instead of memory cache:

    report.previewoptions.PictureCacheInFile

    report.EngineOptions.UseFileCache


    Mick

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.