axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-184) Returning a large number of items throws a StackOverFlowError
Date Sun, 18 Dec 2005 23:00:35 GMT
    [ http://issues.apache.org/jira/browse/AXIS2-184?page=comments#action_12360764 ] 

Davanum Srinivas commented on AXIS2-184:
----------------------------------------

AXIS-184 seems to be caused by XmlBeans's implementation of array copy. See array_setter method
in

http://svn.apache.org/viewcvs.cgi/xmlbeans/trunk/src/store/org/apache/xmlbeans/impl/store/Xobj.java

clearly says "// TODO - this is the quick and dirty implementation, make this faster"

When we copy 40,000 items, it just kills performance both in terms of memory and speed.

Thanks,
dims

> Returning a large number of items throws a StackOverFlowError
> -------------------------------------------------------------
>
>          Key: AXIS2-184
>          URL: http://issues.apache.org/jira/browse/AXIS2-184
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: om
>     Versions: 0.91
>  Environment: tomcat5, gentoo linux, java 1.5.0_04, kernel 2.6.11-gentoo-r5
>     Reporter: Ben McKenzie
>     Assignee: Davanum Srinivas
>  Attachments: DLDataService.wsdl, DataServiceSkeleton.java, newoutput.log
>
> When returning a large number of items from a SOAP (40,000) using several arrays, I get
a java.lang.StackOverflowError
> I will attach the entire stack trace, as it is very long.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message