What is the heap size you are using withe the client?
Samisa...
James Crosson wrote:
We are attempting to utilize Axis (Currently 1.4). The data we are
sending is ASCII, which we've been sending in a very basic way for
some time using:
Service service = new Service();
Call call = (Call) service.createCall();
String ret = (String) call.invoke( new Object [] {args[2],args[3]});
The size of the data that we now need to transmit is reaching about
50MB. The computers we are using are quite robust, and we can allocate
up to 10GB for the client, and a similar amount for the server. The
server is Tomcat 6. Recently, while attempting to access 50MB of data
(setting the heap to 10GB!) we are still receiving a Heap Space error
from Java:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap
space
at
org.apache.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java:254)
This is not an AxisFault. It occurs on the Client, and is a pure Java
exception. We are having a difficult time fishing for a resolution.
The server side reports nothing unusual. We know you can transmit
quite large files using Axis, and are looking for some information
(Maybe some sample code?) for doing this efficiently and protecting
our precious heap.
Thanks for your time,
James
--
James Crosson
--
Samisa Abeysinghe
http://people.apache.org/~samisa/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]