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 "gaochao (JIRA)" <ax...@ws.apache.org> on 2015/10/27 08:23:27 UTC

[jira] [Commented] (AXIS-2698) SAX2EventRecorder causes Out of memory during Deserialization

    [ https://issues.apache.org/jira/browse/AXIS-2698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975873#comment-14975873 ] 

gaochao commented on AXIS-2698:
-------------------------------

I also meet the similar problem,
The thread org.apache.tomcat.util.threads.ThreadWithAttributes @ 0x4f068898 http-0.0.0.0-8080-Processor63 keeps local variables with total size 435,096,504 (46.12%) bytes.
The memory is accumulated in one instance of "org.apache.axis.encoding.DeserializationContext" loaded by "org.jboss.mx.loading.UnifiedClassLoader3 @ 0x4cc718d8".

94M used by SAX2EventRecorder,  and there are also lots MessageElements, each size of them is 472, maybe totally 2219524 entries.


> SAX2EventRecorder causes Out of memory during Deserialization
> -------------------------------------------------------------
>
>                 Key: AXIS-2698
>                 URL: https://issues.apache.org/jira/browse/AXIS-2698
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.2
>         Environment: IBM AIX 5.2.,  Client: java 1.4.2 Server: PERL, SOAPLite
>            Reporter: Jens Rottgardt
>            Priority: Critical
>
> After undetermined time (3 or 4 days) the java client crashes with an out of memeory exception. Analyzing the head dump showes that during the deserialization the SAX2EventRecorder$objArrayVector.add  produces a huge amount of MessageElemets. The returned message is a 3times nested array containg in the inner arry just a strings [ [ [ key~value, ..., key~value ] ] ]. Here a snippit of the array
> [
>           [
>             [
>               'range.type~INTEGER',
>               'range.mode~LASTCHANGE',
>               'attribute.state~error',
>               'lower-limit.value~2',
>               'lower-limit.isIncluded~FALSE',
>               'type.id~fhkh00',
>               'attribute.id~timestamp.last-change-physical',
>               'fhkh00.host~lwfis24',
>               'fhkh00.id~DVD337SF',
>               'fhkh00.instance~A11F2411'
>             ],
>             [
>               'range.type~INTEGER',
>               'range.mode~LASTCHANGE',
>               'attribute.state~error',
>               'upper-limit.value~0',
>               'upper-limit.isIncluded~FALSE',
>               'type.id~fhkh00',
>               'attribute.id~timestamp.last-change-physical',
>               'fhkh00.host~lwfis24',
>               'fhkh00.id~DVD337SF',
>               'fhkh00.instance~A11F2411'
>             ],
>             [
>               'range.type~INTEGER',
>               'range.mode~LASTCHANGE',
>               'attribute.state~ok',
>               'lower-limit.value~0',
>               'lower-limit.isIncluded~TRUE',
>               'upper-limit.value~2',
>               'upper-limit.isIncluded~TRUE',
>               'type.id~fhkh00',
>               'attribute.id~timestamp.last-change-physical',
>               'fhkh00.host~lwfis24',
>               'fhkh00.id~DVD337SF',
>               'fhkh00.instance~A11F2411'
>             ]
>           ]
>       ]
>        
>    



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org