Re: ImageIO memory issue



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
.



Relevant Pages

  • Re: Acer Aspire Laptop
    ... Memory Size 1024 MB ... Hard Drive Capacity 80 Gb ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (uk.adverts.computer)
  • Re: .Net and Task Manager Memory
    ... it's working set is trimmed by the OS ... memory is 80megs. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.dotnet.general)
  • .Net and Task Manager Memory
    ... Currently I am generating a GUI program. ... memory is 80megs. ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.dotnet.general)
  • Re: SDRAM troubles
    ... And lemme add to what "Bob I" had to say. ... "The instruction at 0x77f8f113 referenced memory ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.win2000.general)
  • Re: SDRAM troubles
    ... bluesphere wrote: ... "The instruction at 0x77f8f113 referenced memory ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (microsoft.public.win2000.general)