|
From: | daney at gcc dot gnu dot org |
Subject: | [Bug classpath/24086] New: HttpURLConnection broken for large response bodies. |
Date: | 27 Sep 2005 17:51:09 -0000 |
The current implementation of HttpURLConnection buffers the response body in a byte[]. Also at least one copy of the array is made. On a system with unlimited memory this limits the size of the response body to Integer.MAX_VALUE. On systems with limited memory the maximum body size that can be successfully read is somewhat less than one half of the available memory size. Tested with test cast to be attached with GCC HEAD of today. -- Summary: HttpURLConnection broken for large response bodies. Product: classpath Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: classpath AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: daney at gcc dot gnu dot org CC: bug-classpath at gnu dot org GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24086
[Prev in Thread] | Current Thread | [Next in Thread] |