posted 16 years ago
Wait. I just noticed something. If I don't draw anything on the image, I can reopen it any number of times! The problem occurs when I draw on the BufferedImage. Since I also had the "Java heap" exception with the constructor of BufferedImage, it appears the problem is with BufferedImage after I draw on the image (ImageIO.read uses the constructor).
The following code throws "Java heap" exception on the BufferedImage constructor:
I am going to post this problem in Java in General Advanced.
Thanks to all for your help.
[ September 18, 2008: Message edited by: Alejandro Barrero ]
Your help will be greatly appreciated,
Alejandro Barrero