Re: ImageIO memory issue
- From: Knute Johnson <nospam@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 08 May 2008 08:51:30 -0700
Erik wrote:
I have a problem with the ImageIO.read(new File(...)); method. When I
call this method and it reads an image,
but it is not stored in a BufferedImage (or something else), it still
consumes memory. So when only reading
a image and not storing the results, the image is still kept inside
the memory. Also forcing to garbage collect does
not help. Does anyone knows how to release (flush) the ImageIO memory?
Erik
Are you sure that it is out of scope when you try to garbage collect it?
Just for my curiosity, why would you read an image file and not keep a reference?
--
Knute Johnson
email s/nospam/linux/
--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.
- Follow-Ups:
- Re: ImageIO memory issue
- From: Erik
- Re: ImageIO memory issue
- References:
- ImageIO memory issue
- From: Erik
- ImageIO memory issue
- Prev by Date: Re: GridBagLayout
- Next by Date: Re: operator overloading
- Previous by thread: ImageIO memory issue
- Next by thread: Re: ImageIO memory issue
- Index(es):
Relevant Pages
|