Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Streaming Large Files to Response OutputStream consumes plenty of memory

843842Feb 24 2009 — edited Feb 24 2009
When we write large file's (> 100 MB) binary content to the Servlet Response OutputStream using the write method, it consumes plenty of Heap Memory on the server (Weblogic 7). The Heap does'nt come down after
writing to the outputstream, it stays high for quite a long time, infact it comes down only we access the same page again. Is there a way to get this optimized?

TIA.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 24 2009
Added on Feb 24 2009
2 comments
852 views