axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas B. (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-2863) Circular Reference in Deserialization and XMLReader
Date Mon, 07 Jan 2013 09:58:15 GMT

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

Thomas B. commented on AXIS-2863:
---------------------------------

Good morning,

sorry to dig this up, but i have the same problem with the latest build you linked.
Since 3 Months, we get OutOfMemory Errors in our Applications and we are now at the end of
our physical RAM in our Servers.
After debugging our Applications, hunt down all Memory Leaks we find, there is one big left
in org/apache/axis/encoding/DeserializationContext .

We analyze our HeapDumps with IBM´s HeapAnalyzer and it told us:

240.481.911 bytes (89,63 %) of Java heap is used by 8.160.795 instances of java/lang/Integer
Contains an instance) of the leak suspect:
- org/apache/axis/encoding/DeserializationContext holding 30.933.123 bytes at 0x1e3337e0

Is this known by anyone and is there a fix for it? We cant change 20 Applications with hundrets
of Services to Axis2 over night. Its on our Roadmap, but we cant do nothing about this issue
and wait util our production breaks.
                
> 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
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


Mime
View raw message