[
https://jira.jboss.org/jira/browse/RF-7911?page=com.atlassian.jira.plugin...
]
Geert Coelmont commented on RF-7911:
------------------------------------
we're not using apache.commons.io, so calling this will not help.
To summarize, somehow your
<b>org.richfaces.model.selection.ClientSelection</b> winds up in
<b>java.beans.PropertyEditorManager</b>
See last stack trace (5 lines) of the screen shot.
This should probably be removed before reloading the context, but how?
PropertyEditorManager has no methods for removing editors. I have the impression i
don't even want it to be registered in the first place, but i don't know who or
what is registering this.
OutOfMemory when redeploying - ClientSelection not unregistered from
PropertyEditorManager
------------------------------------------------------------------------------------------
Key: RF-7911
URL:
https://jira.jboss.org/jira/browse/RF-7911
Project: RichFaces
Issue Type: Bug
Components: component-ScrollableDataTable
Affects Versions: 3.3.1
Environment: richfaces.3.3.1.GA + Tomcat 6
Reporter: Geert Coelmont
Assignee: Konstantin Mishin
Fix For: Future
Attachments: screen_shot1.jpg, screen_shot1.jpg
When redeploying, webapp classloader isn't garbage collected, causing a
"java.lang.OutOfMemoryError: PermGen space" after a few times.
I used a profiler ("yourkit") to see where the issue was and found these 3
classes:
- org.richfaces.model.selection.ClientSelection
- com.sun.faces.application.ConverterPropertyEditorFactory$DisposableClassLoader
- com.sun.faces.application.ConverterPropertyEditorBase
See attached screen shot for more details.
I don't know where the 2 com.sun.faces classes come from either, but at least
org.richfaces.model.selection.ClientSelection shouldn't be there.
I saw issue RF-1284 which appears to be very similar, only now this happens in a newer
version.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira