First I increased the memory to 128M. After increasing up to 256 the my soap client doesn't throw any exception. But now the out of memory comes from tomcat (with 256M memory, on linux).
Fault Code = SOAP-ENV:Server.Exception: Fault String = java.lang.OutOfMemoryError Any further solutions ? Thanks Markus -----Ursprüngliche Nachricht----- Von: Elmar Fasel [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 3. Februar 2003 17:23 An: [EMAIL PROTECTED] Betreff: Re: Out of Memory problem Hi Markus, Markus Doss schrieb: > I wrote some services which transports image data to a server. I've done > this with apache soap. Now I transported a 8 MB tif image to the server > and run out of memory. Actually I don't use attachments for the service. > I code the image data base64 and sent this data with some additional > data to server. The apache soap faq recomment to use axis. Are there any > solutions and examples in axis to handle large files for transport to a > server. The image data could by much larger than 20 MB. If you get a java.lang.OutOfMemoryError exception you could try to increase the maximum size of the memory allocation pool of the virtual machine. See http://java.sun.com/j2se/1.4.1/docs/tooldocs/linux/java.html : <quote> -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. Examples: -Xmx83886080 -Xmx81920k -Xmx80m </quote> Regards, Elmar