To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113686
                 Issue #|113686
                 Summary|stoc: When loading charts, many InterfaceIdlClassImpl 
                        |objects leak
               Component|udk
                 Version|OOO320m11
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P2
            Subcomponent|code
             Assigned to|kr
             Reported by|zhangjfibm





------- Additional comments from zhangjf...@openoffice.org Thu Aug  5 14:59:59 
+0000 2010 -------
The leak can be recreated by opening the sample file sc_complex_13sh_4kcell.xls.
 You can create object counter to see how many InterfaceIdlClassImpl leaks.


The root cause of this leak is, 

When loading the charts, it creates many InterfaceIdlClassImpl objects, they
will be put into IdlReflectionServiceImpl._aElements cache.  There is cyclic
reference between InterfaceIdlClassImpl and IdlReflectionServiceImpl objects. So
before IdlReflectionServiceImpl object can be released,
IdlReflectionServiceImpl::dispose() must be called to break their cyclic
reference. In current implementation, After IdlReflectionServiceImpl::dispose()
is called, there are more IdlReflectionServiceImpl objects are created and put
into the cache again, then new cyclic references created again.


The solution is after IdlReflectionServiceImpl::dispose() is called,
IdlReflectionServiceImpl must prevent more IdlReflectionServiceImpl objects are
put into the cache again.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org
For additional commands, e-mail: issues-h...@udk.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to