tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtallen <gtal...@home.com>
Subject Re: Out of memory with HttpOutputstream
Date Tue, 18 Apr 2000 13:41:42 GMT
Have you tried looking at starting your JVM (java) with options
to boost the memory? Just a thought.

Michail Popov wrote:
> 
> hi...
> to transfer a large amount (xMb) of data between servlets i do a POST
> using
> URLConnection/OutputStream
> unfortunatelly the connections OutputStream is always mapped to a
> ByteArrayOutputstream by sun.net.www.protocol.http.HttpURLConnection so
> I run out of memory eventually....
> a quick and dirty solution in that particular case was to extend some of
> the
> sun.net.www.protocol.http and sun.net.www.http classes
> -> depends on jdk1.1 classes but didn't have to implement Http all over
> 
> has someone a better solution? maybe tomcat could register its own
> HttpHandler/HttpURLConnection which provides a direct Outputstream?
> 
> ciao
> michail
> 
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org

Mime
View raw message