Hi,
Thanks for the response. The outofmemory error is due to the JVM
limitation. I need to send 5-10 MB of image data to an applet.

i have following options:
1.plain cgi
2.Com/dcom
3.Corba

I wanted the things to be simple and hence chose SOAP.
I think we should be able to send large chunks of data over soap.
should i abandon SOAP??

ashish



On Wed, 26 Dec 2001, Abhinav Gupta wrote:

> Hi Ashish,
>
>       You will probably need to implement soap over ftp (Just kidding). If you
> are sending that kind of data in a RPC call than there is something
> fundamentally wrong with your design.
>
> Abhinav Gupta
> FirstRain Inc. NY
>
>
> -----Original Message-----
> From: ashish ranjan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 25, 2001 6:12 PM
> To: [EMAIL PROTECTED]
> Subject: SOAP client giving outofmemoryerror
>
>
> Hi,
>    I am trying to send > 10MB of data using soap. At the client side i am
> getting outofmemoryerror when the call object is invoked.
> How to build a client which can receive huge data??? The error message is
> given below.
> Any help will be appreciated....
>
> Thanks,
> Ashish
>
> Exception in xhiead "main" java.lang.OutOfMtmoryError
>         ajava.lang.StringBuffer.expandCapacity(StringBuffer.java:204,
> Compiled
>  Code)
>         at java.lang.StringBuffer.append(StringBuffer.java:396, Compiled
> Code)
>         at java.io.StringWriter.write(StringWriter.java:96)
>         at java.io.PrintWriter.newLine(PrintWriter.java:240)
>         at java.io.PrintWriter.println(PrintWriter.java:391)
>         at java.io.PrintWriter.println(PrintWriter.java:486)
>         at
> org.apache.soap.util.IOUtils.getStringFromReader(IOUtils.java:81, Com
> piled Code)
>         at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:169)
>         at org.apache.soap.rpc.Call.invoke(Call.java:212)
>         at soapclient1.main(soapclient1.java:66)
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>

Reply via email to