Memory Leaks in JVM
"Adam Greene" <[email protected]> Thu, 23 Jan 2003 12:30:43 -0400
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <[email protected]> |
This is kind of off topic, but I was wondering if anyone has had problem with JPEGEncoder / JPEGDecoder stuff. I have a file that I upload via a Form, decode it, resize it, and then recompress it. When the operation is completed, GC cannot release a lot of the memory allocated. I have done everything I can find : dispose() unused images, close() unused streams (especially ByteArrayOutput/InputStream), even called System.gc() after each encoding operation. Sun says there is nothing wrong with the JPEG code, but something is wrong. Again, sorry for being off topic, but I couldn't think of anywheres else that I could find people that understand Java. ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com