users@glassfish.java.net

Re: MTOM with large files

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Mon, 10 Sep 2007 13:30:59 -0700

Drinkwater, GJ (Glen) wrote:
>
> Hi
>
> I did have the server configured with max memory of 500M but still got
> the error.
>
> Ill give the nightlies a go and see how it goes. Does v2.1.3 use
> streaming by default or is there something else I need to do?
>
> Is there an example anyway on how to do this??
>
There are two samples "mtom-large", and "mime-large" are added to the RI
distribution. Take a look at them.

Jitu
>
> Glen
>
>
> Date: Fri, 24 Aug 2007 17:21:52 -0700
> From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
> Content-type: text/plain; format=flowed; charset=ISO-8859-1
> Subject: MTOM with large files
>
> Drinkwater, GJ (Glen) wrote:
> > Hi
> >
> > Whats the largest file anyone has transferred using MTOM? I cannot
> > get anything over ~60M to work without OutOfMemoryError with
> Glassfish v2.
> It depends on the heap size of your VM. You can send and receive larger
> files by increasing the heap size(-Xmx option). In JAX-WS 2.1.2(that's
> in V2), all the attachment data is kept in memory and you are going to
> hit the wall for large attachments.
> >
> > I have seen this bug
> > _https://jax-ws.dev.java.net/issues/show_bug.cgi?id=29_ , has this been
> > fixed in version 2.1?, what version of JAXWS does v2 RC4 use??
> It is getting fixed in 2.1.3. I updated the bug : 29 with more details.
> Unfortunately, it's not going to be available in v2 (may be in an update
> release).
> But you can always configure JAX-WS 2.1.3 on any container.
>
> Jitu
> >
> > Glen
>
>