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 "Nagaraj (Created) (JIRA)" <ax...@ws.apache.org> on 2011/10/10 13:43:29 UTC

[jira] [Created] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Circular Reference in Deserialization and XMLReader
---------------------------------------------------

                 Key: AXIS-2863
                 URL: https://issues.apache.org/jira/browse/AXIS-2863
             Project: Axis
          Issue Type: Bug
          Components: Serialization/Deserialization
    Affects Versions: 1.4
         Environment: IBM AIX JRE 1.4.2
            Reporter: Nagaraj
            Priority: Critical


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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198787#comment-13198787 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
Unfortunately i am not getting schedule for this whole week.Let me try to get it soon.
Thanks
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186810#comment-13186810 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
I have asked the xml file size to check whether axis supports Large file requests or not.I'm suspecting that the axis behavior could be changed if it gets large xml files for parsing.But need to confirm this.

We are also using OC4J app server with with 4 oc4j processes for an oc4j instance.The ibm jdk version is 1.4 only.

Our JVM Arguments are Xmx2048m(Min 512MB and max 2GB)

I have done profiling for single user and checked the memory utilizations and didn't find any issues at the time.
I haven't done profiling for more than one users which you have done it.So,im not sure about the memory utilizations.

I have the following questions for you
1.At what user load you did the profiling?(  I can understand clearly if you send the user load details.If possible you can send snapshot also)
2.How frequent your JVM is getting restarted?
3.At the time of out of memory,what is the biggest object size u found in theleak suspect? and do you see any heap fragmentation problem in the memory?
4.What is the load balancing method you are handling?(round robin or someother?)
5.Is it clustered env or single hosts?
6.Suppose the free heap memory is getting reduced and allocated memory is increasing, Have you ever noticed at any point of time the free memory bounced back?(for Ex: initiall free memory is 400MB and allocated is 100MB,after some GC's the allocated memory is getting released or it is increasing until out of memory)



                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Resolved] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Andreas Veithen (Resolved) (JIRA)" <ax...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS-2863.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4.1
         Assignee: Andreas Veithen

Marking this issue as resolved. Nethanel has validated that the issue no longer occurs in his environment. In addition, with my changes it is now impossible to get the circular reference pattern shown in the description of this issue. If there are still issues with the Oracle SAX parser, then a new issue should be opened with additional information.
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Assignee: Andreas Veithen
>            Priority: Critical
>             Fix For: 1.4.1
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Andreas Veithen (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195631#comment-13195631 ] 

Andreas Veithen commented on AXIS-2863:
---------------------------------------

I found a version of the Oracle parser, but I haven't been able to reproduce the issue. I also have no theory to explain how the issue could occur. Nevertheless, I did a couple of changes that should solve the issue or at least reduce the impact of the issue. Can you download the 1.4.1-SNAPSHOT version from [1] and redo your test?

[1] https://builds.apache.org/job/axis-trunk/lastStableBuild/org.apache.axis$axis/
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Andreas Veithen (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199126#comment-13199126 ] 

Andreas Veithen commented on AXIS-2863:
---------------------------------------

There have been no changes in saaj and jaxrpc. It should be enough to replace the axis JAR.
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199574#comment-13199574 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Thanks Andreas.
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Assignee: Andreas Veithen
>            Priority: Critical
>             Fix For: 1.4.1
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198725#comment-13198725 ] 

Nethanel Wizman commented on AXIS-2863:
---------------------------------------

Hi Nagaraj,

The fix was tested on a production project, and unfortunately there is no POC that can be sent.

Regards,
Nethanel
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Issue Comment Edited] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Issue Comment Edited) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192907#comment-13192907 ] 

Nethanel Wizman edited comment on AXIS-2863 at 1/25/12 7:17 AM:
----------------------------------------------------------------

Hi Nagaraj,

The xml size is quite small, no more than 2KB.

The memory leak happens all the time, whether during load or not. It seems that this circular reference is there as soon as Axis is getting into action.

Here are my answers for you:
1.	I've done the profiling with a single user running repeated requests to the OC4J instance, about 4 requests per second. The JProfiler snapshot is too big to attach, I can sen you by email if you want.
2.	The JVM is getting restarted at different frequencies, depending on the OC4J allocated memory. With 64MB it's restarted after about 30-60 minutes; with 512MB it occurs after a very long time: after a 6 weeks, or never at all.
3.	The biggest object size of the leak suspect is 24KB. It's the same value during normal operation as it's just before the out of memory.
4.	There is no load balancer.
5.	It's a single host environment.
6.	At some point the memory is getting released, but it happens that there are very high peaks of memory consumption for very short times, in which the out of memory occurs.

Thanks,
Nethanel
                
      was (Author: nel100):
    Hi Nagaraj,

The xml size is quite small, no more than 2KB.

The memory leak happens all the time, whether during load or not. It seems that this circular reference is there as soon as Axis is getting into action.

Here are my answers for you:
1.	I've done the profiling with a single user running repeated requests to the OC4J instance, about 4 requests per second. I've attached the JProfiler snapshot.
2.	The JVM is getting restarted at different frequencies, depending on the OC4J allocated memory. With 64MB it's restarted after about 30-60 minutes; with 512MB it occurs after a very long time: after a 6 weeks, or never at all.
3.	The biggest object size of the leak suspect is 24KB. It's the same value during normal operation as it's just before the out of memory.
4.	There is no load balancer.
5.	It's a single host environment.
6.	At some point the memory is getting released, but it happens that there are very high peaks of memory consumption for very short times, in which the out of memory occurs.

Thanks,
Nethanel
                  
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192907#comment-13192907 ] 

Nethanel Wizman commented on AXIS-2863:
---------------------------------------

Hi Nagaraj,

The xml size is quite small, no more than 2KB.

The memory leak happens all the time, whether during load or not. It seems that this circular reference is there as soon as Axis is getting into action.

Here are my answers for you:
1.	I've done the profiling with a single user running repeated requests to the OC4J instance, about 4 requests per second. I've attached the JProfiler snapshot.
2.	The JVM is getting restarted at different frequencies, depending on the OC4J allocated memory. With 64MB it's restarted after about 30-60 minutes; with 512MB it occurs after a very long time: after a 6 weeks, or never at all.
3.	The biggest object size of the leak suspect is 24KB. It's the same value during normal operation as it's just before the out of memory.
4.	There is no load balancer.
5.	It's a single host environment.
6.	At some point the memory is getting released, but it happens that there are very high peaks of memory consumption for very short times, in which the out of memory occurs.

Thanks,
Nethanel
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Hudson (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195600#comment-13195600 ] 

Hudson commented on AXIS-2863:
------------------------------

Integrated in axis-trunk #68 (See [https://builds.apache.org/job/axis-trunk/68/])
    AXIS-2863: Prevent the Oracle SAX parser (oracle.xml.parser.v2) from keeping a reference to DeserializationContext after the parser is released (actually until the parser is reused).

veithen : 
Files : 
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/encoding/DeserializationContext.java
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/encoding/DeserializerImpl.java
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/utils/DefaultErrorHandler.java

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195945#comment-13195945 ] 

Nethanel Wizman commented on AXIS-2863:
---------------------------------------

Well done Andreas!

The version you delivered works perfectly.
I tested my system with the new axis version for the last 24 hours with load test and the memory consumption was very low and very stable.
I also examined the objects that were my leak suspects and couldn't find any circular references there.
There are no huge objects in the memory anymore.

Just to be sure I just went back to the old version and reproduced the memory leak.

I want to thank you for the fix, good work :-)

Nagaraj - I think we can be reasured that this problem is behind us. Let us know how your tests worked.

Thanks again,
Nethanel
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Andreas Veithen (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186154#comment-13186154 ] 

Andreas Veithen commented on AXIS-2863:
---------------------------------------

Is this problem reproducible? If we get a test case that shows the issue, then we may be able to identify the root cause and fix it.
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192964#comment-13192964 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
 It seems that this circular reference is there as soon as Axis is getting into action. 
Do you think this circular reference creation is the design of Apache Axis?

What about your service call? whether synchronous or asynchronous?
If asynchronous call then you may store all the objects in to callbacktarget right?


Sometimes i get the object request for allocation between 24MB to 65MB.Such a big request comes to the server for allocation.We can see good amount of free memory whenever we check the GC logs when out of memory occurs.The problem will be the heap fragmentation because it wont have contiguous memory to allocate the request.

So can we conclude like that
 the two big objects are accumulating memory always whenever request comes to server and not been cleared properly ?
Have you created any sample service for testing purpose and tried the same to call thru apache axis engine? if yes then did u see the behavior of axis? whether creating circular reference or not?

Andreas,
Could you please reply?
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184916#comment-13184916 ] 

Nethanel Wizman commented on AXIS-2863:
---------------------------------------

Hi Nagaraj,

I encounter the same error. Have you found a solution for this problem?

Thanks!
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198721#comment-13198721 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
    I'm unable to test this latest axis jar since the testing environment slot is not available.If you have any POC on this then can you send it to me?
I'll test locally and confirm the same.

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nethanel Wizman (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186524#comment-13186524 ] 

Nethanel Wizman commented on AXIS-2863:
---------------------------------------

Hi Nagaraj and Andreas,

Yes, this problem can be reproduced on my system every time.

I'm using the following axis1 jar: axis-1.4.jar

As for the XML size being sent - I'm not sure because I use axis indirectly. There is a web service client I use in order to access a web service, and this client uses axis-1.4.jar in order to communicate with this web service. In this communication soap messages are being sent back and forth. If it's important I can try to find out the size of the XML file size.

I'm using OC4J application server version 10.1.2 which works on Java version 1.4.2_04.

The memory heap size is set to 512MB. The problem can be reproduced of course with smaller heap size – 64MB for instance.

In order to shed some more light on the problem, I can give some more information:
The problem first happened in a production environment, where an "OutOfMemory" error occasionally occurred.
I reproduced the problem in my lab by starting the application server and starting a load application that sends requests repeatedly to that application server.
Using JProfiler, I could notice that memory consumption is stable at first – the usual chain-saw pattern that stays within a ~5MB variation from average (the average is about 10MB).
After about 20 minutes there are huge peaks of memory consumption that go up sometimes as much as the maximum allowed – 512MB.
After a few repetitions like that the dreaded "OutOfMemory" error occurs…
I can send you the JProfiler snapshot if necessary.

If more information is required please do not hesitate to contact me.

Thanks,
Nethanel

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13198790#comment-13198790 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
One more thing i forgot to ask.Did you change the latest axis jar alone or anyother jars like saaj and jax-rpc along with it?

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186815#comment-13186815 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Andreas,
Do we have any constraint in sending xml's for parsing in the axis1.3 or axis1.4?(Any limit on file size?)
I'm unable to find where oracle.xml.parser.v2.XMLReader object gets created and i'm not sure whether it is getting cleared after the soap messages are getting parsed.Please reply
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Hudson (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195609#comment-13195609 ] 

Hudson commented on AXIS-2863:
------------------------------

Integrated in axis-trunk #69 (See [https://builds.apache.org/job/axis-trunk/69/])
    Don't store the org.xml.sax.Locator object. We never need it and the fact that we keep a reference may contribute to the issue described in AXIS-2863.

veithen : 
Files : 
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/encoding/DeserializationContext.java
* /axis/axis1/java/trunk/axis/src/main/java/org/apache/axis/message/SAX2EventRecorder.java

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195951#comment-13195951 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
 Please give me some time to test.I have raised a request to my testing environment.I'm waiting for a schedule.Please wait

                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13195939#comment-13195939 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Thanks hudson and andreas for your reply.I'll test with the latest axis jar and let you know asap.
                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


[jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader

Posted by "Nagaraj (Commented) (JIRA)" <ax...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS-2863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185105#comment-13185105 ] 

Nagaraj commented on AXIS-2863:
-------------------------------

Hi Nethanel,
Can you answer me the below questions?
What is your axis jar version?
what is the xml size u send for parsing?
What is the application server you are using?
What is your Heap memory size?



                
> Circular Reference in Deserialization and XMLReader
> ---------------------------------------------------
>
>                 Key: AXIS-2863
>                 URL: https://issues.apache.org/jira/browse/AXIS-2863
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>         Environment: IBM AIX JRE 1.4.2
>            Reporter: Nagaraj
>            Priority: Critical
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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