Page 1 of 1

Memory consumption issue of image components

Posted: Mon Feb 24, 2025 9:16 am
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.

Re: Memory consumption issue of image components

Posted: Mon Feb 24, 2025 12:07 pm
by Vadim
Hello

Please try to setup

Code: Select all

com.stimulsoft.base.StiAttribute.RENDER_QUALITY=1;

Re: Memory consumption issue of image components

Posted: Mon Mar 10, 2025 7:50 am
by simon ren
This method doesn't work, there's no change after the modification

Re: Memory consumption issue of image components

Posted: Thu Mar 13, 2025 3:01 pm
by Vadim
Hello

Memory leak will be fixed from 2025.2.1 version