Memory increase when viewing Preview with images

edited 10:34AM 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 10:34AM
    Set some Reprort option to use file instead of memory cache:

    report.previewoptions.PictureCacheInFile

    report.EngineOptions.UseFileCache


    Mick

Leave a Comment