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??
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