Hi
u speaking of some MB ore some GB?
doubt its the JVM. Rather restrictions on
xml-element-size? just guessing
Cheers
--- Thilina Gunarathne <[EMAIL PROTECTED]> wrote:

> You won't be able to send large data inside the
> envelope using Base64
> binary, as it'll cause Axis2 to load the whole of
> data in to memory.
> You should use MTOM or SwA if your data are large.
> 
> Are you getting the error on client or on server
> side. IIRC in the
> service code of your earlier posting you were trying
> to do a
> system.out on the binary data. This needs to be
> avoided in any case.
> As this also makes the data to be loaded in to
> memory irrespective of
> whether you are sending them inline or as
> attachments.
> 
> A wire trace using
> TCPMON(ws.apache.org/commons/tcpmon) for a smaller
> file would help a lot to better understand what's
> going on..
> 
> thanks,
> Thilina
> 
> On 9/5/07, Sushil Dodake <[EMAIL PROTECTED]>
> wrote:
> > Guys,
> >
> > I dont know whether this is a AXIS2 problem.
> > I am trying to get the Image files from the
> documentum server using web
> > service.
> > when i try to get say 4 image files in a go and if
> the total size of the
> > file is in some MBs then the JVM goes boooom.
> > i have done follwong things to avoid
> > 1. Set a environmental Variable
> > CATALINA_OPTS = "-Xms512m -Xmx512m"
> > 2. Also set the same variable in the cataline.bat
> file
> > set CATALINA_OPTS=-mx512m
> > 3. even set the same values in the tomcat 5.0
> configuration
> > But still my JVM gives the same error
> >
> >
> > java.lang.OutOfMemoryError
> >
> > can anybody suggest me what i need to do when i am
> sending large data using
> > AXIS2
> >
> > Please note i am sending the Images as the binary
> content in the XML
> > response.
> >
> > any help in this respect will be appreciated
> >
> > regards,
> >
> > Sushil
> 
> 
> -- 
> Thilina Gunarathne  -  http://www.wso2.com -
> http://thilinag.blogspot.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



       
____________________________________________________________________________________Ready
 for the edge of your seat? 
Check out tonight's top picks on Yahoo! TV. 
http://tv.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to