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 "Simon Fell (JIRA)" <ax...@ws.apache.org> on 2005/04/05 21:14:16 UTC

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

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


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

Posted by Simon Fell <so...@zaks.demon.co.uk>.
Its bad and really annoying, but its not a blocker for me, we have
work around's for it.

Cheers
Simon

On Sun, 1 May 2005 00:13:04 +0200 (CEST), in soap you wrote:

>     [ http://issues.apache.org/jira/browse/AXIS-1912?page=comments#action_64186 ]
>     
>Davanum Srinivas commented on AXIS-1912:
>----------------------------------------
>
>Simon,
>
>Is this a blocker?
>
>thanks,
>dims
>
>> 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)


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

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1912?page=comments#action_64186 ]
     
Davanum Srinivas commented on AXIS-1912:
----------------------------------------

Simon,

Is this a blocker?

thanks,
dims

> 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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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

Posted by "Tom Jordahl (JIRA)" <ax...@ws.apache.org>.
     [ 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


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

Posted by "Simon Fell (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1912?page=history ]

Simon Fell updated AXIS-1912:
-----------------------------

    Attachment: partner.wsdl

this is the WSDL that uses <xsd:any>

> 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


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

Posted by "Simon Fell (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1912?page=history ]

Simon Fell updated AXIS-1912:
-----------------------------

    Attachment: xsd_any_response.txt

This is the response message

> 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


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

Posted by "Simon Fell (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-1912?page=history ]

Simon Fell updated AXIS-1912:
-----------------------------

    Attachment: enterprise_sfell2.wsdl

this is the stongly typed WSDL that doesn't use <xsd:any>

> 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