[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Leonardo Uribe updated TOMAHAWK-1443:
-------------------------------------

           Status: Resolved  (was: Patch Available)
         Assignee: Leonardo Uribe
    Fix Version/s: 1.1.10-SNAPSHOT
       Resolution: Fixed

> StreamingAddResource introduces memory leak
> -------------------------------------------
>
>                 Key: TOMAHAWK-1443
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1443
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.7
>            Reporter: Philipp Schoepf
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.10-SNAPSHOT
>
>         Attachments: TOMAHAWK-1443-1.patch
>
>
> org.apache.myfaces.component.html.util.StreamingAddResource creates a Thread 
> named CleanupThread. This causes a memory during development when an 
> application is uninstalled/installed during development.
> The thread is unmanaged to the server and will hold references to the 
> application classloader, even if the application is uninstalled from the 
> server.
> The same problem will occur in production environments that use hot deploy 
> features.
> I don't know if this does also affect 1.2.x stream.
> Suggestion: Please include a shutdown hook that can be used to stop the 
> thread during application shutdown (via ContextLoaderListener or similar).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to