|
|
|
|
|||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Heap Space issues with Large Files?
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 [] {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" MemoryError: Java heap space at $objArrayVector.add(SAX2EventRecord er.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 |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Apache > Heap Space issues with Large Files? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|