Memory consumption issue of image components

Stimulsoft Reports.JAVA discussion
Post Reply
simon ren
Posts: 100
Joined: Wed Nov 21, 2018 12:51 am

Memory consumption issue of image components

Post by simon ren »

Recently, while using the image component, I found that I uploaded an image of approximately 500kb in size. However, in the memory snapshot, I saw that the corresponding code object consumed 60mb, which caused a memory overflow when printing multiple PDFs. The problem disappeared after replacing the image.
I would like to ask why this image has generated such a large consumption. Please see the attachment for the image.
Attachments
report.mrt
(897.72 KiB) Downloaded 67 times
image.png
image.png (437.54 KiB) Viewed 16936 times
issue.png
issue.png (707.19 KiB) Viewed 16936 times
Vadim
Posts: 404
Joined: Tue Apr 23, 2013 11:23 am

Re: Memory consumption issue of image components

Post by Vadim »

Hello

Please try to setup

Code: Select all

com.stimulsoft.base.StiAttribute.RENDER_QUALITY=1;
simon ren
Posts: 100
Joined: Wed Nov 21, 2018 12:51 am

Re: Memory consumption issue of image components

Post by simon ren »

This method doesn't work, there's no change after the modification
Vadim
Posts: 404
Joined: Tue Apr 23, 2013 11:23 am

Re: Memory consumption issue of image components

Post by Vadim »

Hello

Memory leak will be fixed from 2025.2.1 version
Post Reply