You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tom Jordahl (JIRA)" <ax...@ws.apache.org> on 2005/04/05 22:20:19 UTC

[jira] Commented: (AXIS-1912) MessageElement requires inordanate ammounts of memory

     [ http://issues.apache.org/jira/browse/AXIS-1912?page=comments#action_62206 ]
     
Tom Jordahl commented on AXIS-1912:
-----------------------------------

Simon, any ideas on why the MessageElement array takes up so much space?
Is this something we can actually fix without breaking compatibility?


> MessageElement requires inordanate ammounts of memory
> -----------------------------------------------------
>
>          Key: AXIS-1912
>          URL: http://issues.apache.org/jira/browse/AXIS-1912
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2RC3
>  Environment: JDK1.5.01, WinXP
>     Reporter: Simon Fell
>  Attachments: enterprise_sfell2.wsdl, partner.wsdl, xsd_any_response.txt
>
> If a service makes heavy use of <xsd:any> elements, these all get meapped to MessageElement [], this seems to use way more memory than if the xsd:any isn't there and all the elements are mapped to bean field.
> I've attached a SOAP response that is 2.5Mb in size, to deserialize this into a bean that largely uses xsd:any grows the heap to ~70Mb, the same response deserialized into a more strongly typed bean only grows the heap to ~20Mb.
> I've also attached the <xsd:any> and stongly typed versions of the WSDL. (look at the definiton of SObject)

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira