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 "Jens Rottgardt (JIRA)" <ax...@ws.apache.org> on 2007/10/01 13:51:51 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#action_12531493 ] 

Jens Rottgardt commented on AXIS-2698:
--------------------------------------

Hello,

I have followed Bjorn's advice and updated AIXS from 1.2.1 to 1.4 but the problem still exists. The out of memory occures exactly at the same line.

java.lang.OutOfMemoryError
        at org.apache.axis.message.SAX2EventRecorder$objArrayVector.add(SAX2EventRecorder.java(Compiled Code))
        at org.apache.axis.message.SAX2EventRecorder.endElement(SAX2EventRecorder.java(Inlined Compiled Code))
        at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java(Compiled Code))
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at javax.xml.parsers.SAXParser.parse(Unknown Source)
        at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java(Compiled Code))
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java(Compiled Code))
        at org.apache.axis.Message.getSOAPEnvelope(Message.java(Inlined Compiled Code))
        at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java(Compiled Code))
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java(Compiled Code))
        at org.apache.axis.client.Call.invokeEngine(Call.java(Compiled Code))
        at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))
        at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))
        at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))
        at org.apache.axis.client.Call.invoke(Call.java(Compiled Code))
        at com.vwag.fh.common.fsp.AbstractConnector.genericGetAllData(AbstractConnector.java(Inlined Compiled Code))
        at com.vwag.fh.common.fsp.HDTServiceImpl.getAllHDTData(HDTServiceImpl.java(Inlined Compiled Code))
        at fh.sysmon.adapter.service.fsp.implementation.HDTConnectorDelegator.getAvailableItemMap(HDTConnectorDelegator.java(Compiled Code))
        at fh.sysmon.adapter.service.fsp.implementation.HDTConnectorDelegator.getAvailableMbeans(HDTConnectorDelegator.java(Compiled Code))
        at fh.sysmon.adapter.service.fsp.implementation.FSPResourceInfoBulkUpdateJob.updateContent(FSPResourceInfoBulkUpdateJob.java(Compiled Code))
        at fh.sysmon.adapter.service.fsp.implementation.FSPResourceInfoBulkUpdateJob.execute(FSPResourceInfoBulkUpdateJob.java(Compiled Code))
        at fh.sysmon.common.scheduler.DummyScheduler.alarm(DummyScheduler.java(Compiled Code))
        at fh.evo.common.timer.Alarm.run(Alarm.java(Compiled Code))
        at java.lang.Thread.run(Thread.java:570)


... Jens

> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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