I've only had time for a quick poke around so far, the object itself doesn't look that heavyweight, although it is holding references to things I'd think are no longer needed (like the deserializationcontext and the event recorder)
I'm hoping to get some time with jmap next week to poke around in more detail. Cheers Simon > -----Original Message----- > From: Tom Jordahl (JIRA) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 05, 2005 1:20 PM > To: [email protected] > Subject: [jira] Commented: (AXIS-1912) MessageElement > requires inordanate ammounts of memory > > [ > http://issues.apache.org/jira/browse/AXIS-1912?page=comments#a > ction_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 > > >
