Today I'm playing with a method, which crop and resize an image with resolution of 3264x2448.
The JVM's heap space length is only 64mb.
I always get the "memory leak" when I load this image using the method:
BufferedImage bImage = ImageIO.read( stream );
There are other way to resize it without go in memory leak, or the only problem is the little size of heap space?
This image's size is 3mb, why it take 50mb in heap space?
Thanks in advance, sorry if my question is stupid but it's strange for me
Byee