axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Perner <>
Subject Re: out of memory issues. Can MTOM help ?
Date Mon, 11 Dec 2006 14:27:08 GMT

Do you have already a solution for this problem?
I'm facing the same problem, that I get the following error transferring 
files greater than 2,5 Mb:

2006-12-11 15:17:18 StandardWrapperValve[action]: Servlet.service() for 
servlet action threw exception
java.lang.OutOfMemoryError: Java heap space

Can someone comment, on the issue how to transfer files greater than 
mentioned above? Is the memory allocation for example in JAVA_OPTS the 
only clue?



Marcel Casado schrieb:
> Hi,
> I have a service that extracts data from a sql table and builds 
> objects from the results and then sends them back to the client. I use 
> ADB but I'm running out of memory for large query results.  I'm 
> running the service onTomcat and I setup setenv JAVA_OPTS "-Xmx1024m 
> -Xms1024m" .What  I can do for large soap body messages ? Should the 
> use of  MTOM help me whit memory problems? Does any body an example of 
> using MTOM to handle big XML objects ?
> I already took a look to the MTOM tutorial but is still not clear to 
> me if this will solve the problem.
> Thanks, 
> Marcel
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message