Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6518816
Votes 0
Synopsis Reduce the memory foot print for HttpURLConnection
Category java:classes_net
Reported Against
Release Fixed 5.0u14(b01), 7(b12) (Bug ID:2147166) , 6u2(b01) (Bug ID:2147660)
State 10-Fix Delivered, bug
Priority: 2-High
Related Bugs
Submit Date 29-JAN-2007
Description
Some of the JAX-WS applications send a lot of data in web service requests. JAX-WS uses HttpURLConnection to send the web service request. All this data is buffered in sun.net.www.http.PosterOuputStream and it remains until URLConnection is GCed. JAX-WS keeps a referece to URLConnection (even after it reads the response) to compute cerain things(for e.g: HTTP headers) lazily using URLConnection. There is no use to keep this PosterOuputStream once the request is sent. We would want the reference to PosterOuputStream to be set null at an appropriate place and thus it will reduce the memory footprint.
Posted Date : 2007-01-29 19:47:15.0
Work Around
N/A
Evaluation
Seems like a reasonable request. Will fix in 7 first, and then back-port.
Posted Date : 2007-02-28 11:22:15.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang