myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] Updated: (TOMAHAWK-1443) StreamingAddResource introduces memory leak
Date Thu, 13 May 2010 03:38:43 GMT


Leonardo Uribe updated TOMAHAWK-1443:

    Status: Patch Available  (was: Open)

> StreamingAddResource introduces memory leak
> -------------------------------------------
>                 Key: TOMAHAWK-1443
>                 URL:
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>    Affects Versions: 1.1.7
>            Reporter: Philipp Schoepf
>         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
> 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.

View raw message