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

Circular Reference in Deserialization and XMLReader

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.4.1
    • Labels:
      None
    • Environment:
      IBM AIX JRE 1.4.2

      Description

      I got out of memory error and when i analysed heap dump, i was getting infinite active references of deserialization and xmlreader.When expand Deserialization context,XMLReader reference is there and when expand XMLReader,Deserialization reference is there.It seems to be circular reference.The sample output of heap dump is given below.

      Shallow Heap Retained Heap Percentage

      org.apache.axis.encoding.DeserializationContext @ 0x505dbbc8 | 88 | 988,356,416 | 60.92%

      • oracle.xml.parser.v2.XMLReader @ 0x505dc5f8
      128 988,272,872 60.92%
       
      • org.apache.axis.encoding.DeserializationContext @ 0x504ce7d8
      88 988,263,992 60.92%
         
      • oracle.xml.parser.v2.XMLReader @ 0x505385b0
      128 988,190,680 60.91%
           
      • org.apache.axis.encoding.DeserializationContext @ 0x89592c00
      88 988,181,800 60.91%
             
      • oracle.xml.parser.v2.XMLReader @ 0x89592e00
      128 988,067,936 60.91%
               
      • org.apache.axis.encoding.DeserializationContext @ 0x50799858
      88 988,059,056 60.91%
                 
      • oracle.xml.parser.v2.XMLReader @ 0x5079d0e8
      128 987,975,512 60.90%
                   
      • org.apache.axis.encoding.DeserializationContext @ 0x505e23d8
      88 987,966,632 60.90%
                     
      • oracle.xml.parser.v2.XMLReader @ 0x505e1c08
      128 987,892,528 60.90%

      Please provide some solution for this.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                veithen Andreas Veithen
                Reporter:
                or_nagaraj Nagaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified