Apache
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Apache

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old July 31st, 2008, 10:40 AM
James Crosson
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Apache > Heap Space issues with Large Files?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
Stay green...Green IT