Have you tried with MTOM? Axis2 should be default stream it out to disk and
hence should not go OOM.

Sanjiva.

On Fri, Jul 8, 2011 at 10:31 AM, Bhat B, Niranjan (NSN - IN/Bangalore) <
niranjan.bha...@nsn.com> wrote:

>
> Hi All,
>
> Recently I had a use case of attaching a huge attachment file(around 500
> MB) in the request to a webservice.
> But however, when I tried to do this I see out of memory errors in
> application logs.
> Can you please let me know the efficient way of attaching huge attachment
> files in the request to a webservice ?
> I am using SWA attachment APIs.
>
> regards,
> Niranjan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
> For additional commands, e-mail: java-user-h...@axis.apache.org
>
>


-- 
Sanjiva Weerawarana, Ph.D.
Founder, Director & Chief Scientist; Lanka Software Foundation;
http://www.opensource.lk/
Founder, Chairman & CEO; WSO2; http://wso2.com/
Founder & Director; Thinkcube Systems; http://www.thinkcube.com/
Member; Apache Software Foundation; http://www.apache.org/
Visiting Lecturer; University of Moratuwa; http://www.cse.mrt.ac.lk/

Blog: http://sanjiva.weerawarana.org/

Reply via email to