You're probably overrunning your stack, not heap.  Try increasing stack
size on the client VM.  When arguments are passed in a method call, they
are placed on the stack, not the heap.

-----Original Message-----
From: Brian W. Young [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 13, 2003 4:15 PM
To: [EMAIL PROTECTED]
Subject: Axis client, OutOfMemoryException


Hello,

I have a simple Axis client, just a few lines borrowed from the included

examples.  My call returns String, and in this case the String is the 
contents of a 2 meg XML file that I will be parsing into a Document once

it has been received.

However, I can't get that far.  With a 128 meg heap I get an 
OutOfMemoryException on the client apparently during call.invoke(). 
Everything works fine if I use a smaller String.

Whats going on here?  I'm not sure how 2 meg of data is blowing out a 
128 meg heap.  Any ideas?

Reply via email to