[richfaces-issues] [JBoss JIRA] Updated: (RF-7911) OutOfMemory when redeploying - ClientSelection not unregistered from PropertyEditorManager
Hans Cappelle (JIRA)
jira-events at lists.jboss.org
Wed Oct 28 06:41:17 EDT 2009
[ https://jira.jboss.org/jira/browse/RF-7911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hans Cappelle updated RF-7911:
------------------------------
Attachment: simple-jsf.zip
I was able to reproduce the error with a simple jsf project using the following versions:
myfaces 1.1.4
facelets 1.1.11
org.richfaces 3.3.1.GA
I'm running this code on a glassfish server version: Sun Java System Application Server 9.1_02 (build b04-fcs)
After undeployment the classloaders can't be collected by gbc and like Geert stated before this ClientSelection class is left.
Classloader hierarchy:
sun.misc.Launcher$ExtClassLoader at 0x1aafa2f8 [ 35 classes ]
^---- sun.misc.Launcher$AppClassLoader at 0x1aaf6260 [ 54 classes ]
^---- com.sun.appserv.server.util.ASURLClassLoader at 0x1aaf6198 [ 6000 classes ]
^---- java.net.URLClassLoader at 0x1acf96b0 [ 0 classes ]
^---- com.sun.enterprise.util.ConnectorClassLoader at 0x1ad0f900 [ 1 classes ]
^---- org.apache.catalina.loader.WebappClassLoader at 0x1d0d4758 [ 768 classes ]
^---- com.sun.faces.application.ConverterPropertyEditorFactory$DisposableClassLoader at 0x1d0d8860 [ 1 classes ]
Class left:
class com.sun.faces.application.ConverterPropertyEditorFor_org_richfaces_model_selection_ClientSelection (84 bytes) : ??
holding HashMap containing an org.richfaces.model.selection.ClientSelection instance
I used jmap and jhat to get this information.
> 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, simple-jsf.zip
>
>
> 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
More information about the richfaces-issues
mailing list