PDF export memory spike with large images
Posted: Tue Jun 30, 2026 10:18 am
I'm using Stimulsoft Reports.NET in a .NET 8 application to generate PDF reports that contain many high-resolution PNG images (around 80–120 images per report). The reports are generated correctly, but during PDF export the application's memory usage increases significantly and is only released much later by the garbage collector.
I already dispose of the report object after exporting, and I've tried reducing image resolution, but the memory spike is still much higher than expected.
Has anyone found an effective way to reduce memory consumption during PDF export when a report contains many images? Are there any export options, image caching settings, or report design practices that help keep memory usage lower without noticeably reducing PDF quality?
I already dispose of the report object after exporting, and I've tried reducing image resolution, but the memory spike is still much higher than expected.
Has anyone found an effective way to reduce memory consumption during PDF export when a report contains many images? Are there any export options, image caching settings, or report design practices that help keep memory usage lower without noticeably reducing PDF quality?