Hi All,
Why more heap memory is consuming when converting jpeg InputStream to BufferedImage. Consuming 1GB even it is 8 MB jpeg file.
Used the syntax as below.
I implemented simple java application with only main method have 4 lines of code.
BufferedImage image = ImageIO.read(inputStream); ----------> Getting java heap memory error.
Regards,
Mani