From: Anton A. (JIRA) <no...@sp...> - 2010-04-12 12:18:10
|
Potential LARGE memory leak in Spring RC ---------------------------------------- Key: RCP-632 URL: https://jira.springsource.org/browse/RCP-632 Project: Spring Rich Client Project Issue Type: Bug Affects Versions: 1.1.0 Reporter: Anton Antonov Assignee: Lieven Doclo Priority: Major An instance of PropertyChangeListener is added to PageComponent (see DefaultPageComponentPane.java line 47), but never removed. For this reason PageComponent can never be collected by GC. See more detailed description here: http://markmail.org/message/gna2g3nbaj6vivtt Workaround. I used SimplePageComponentPaneFactory instead of DefaultPageComponentPaneFactory (see part of context.xml below): {code:xml} <bean id="applicationServices" class="org.springframework.richclient.application.support.DefaultApplicationServices" ... <property name="pageComponentPaneFactory"> <bean class="org.springframework.richclient.application.support.SimplePageComponentPaneFactory"/> </property> </bean> {code} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.springsource.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |