Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2698

SAX2EventRecorder causes Out of memory during Deserialization

    Details

    • Type: Bug
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      IBM AIX 5.2., Client: java 1.4.2 Server: PERL, SOAPLite

      Description

      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'
      ]
      ]
      ]

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rojens Jens Rottgardt
            • Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: