[richfaces-issues] [JBoss JIRA] Commented: (RF-7911) OutOfMemory when redeploying - ClientSelection not unregistered from PropertyEditorManager

Hans Cappelle (JIRA) jira-events at lists.jboss.org
Thu Oct 29 05:43:05 EDT 2009


    [ https://jira.jboss.org/jira/browse/RF-7911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12492025#action_12492025 ] 

Hans Cappelle commented on RF-7911:
-----------------------------------

Just for testing I removed the ClientSelection converter from the faces-config of the richfaces-ui project and from that point undeploying went well. It also broke the application so this is not a work around. Just to let you know this ClientSelection is really causing the problem. 

I have a similar issue with the org.apache.myfaces.fileupload.UploadedFile from myfaces-extensions-1.0.9.jar. Both are converters that stay registered after undeploying.

> 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