commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Michele (JIRA)" <>
Subject [jira] Created: (TRANSACTION-31) Memory Leak in FileResourceManager#InputStreamWrapper
Date Mon, 15 Jun 2009 21:46:07 GMT
Memory Leak in FileResourceManager#InputStreamWrapper

                 Key: TRANSACTION-31
             Project: Commons Transaction
          Issue Type: Bug
    Affects Versions: 1.1, 1.0.1, 1.0, 1.2
            Reporter: Lars Michele

InputStreamWrapper has a memory leak. In a lightweight transaction, the close method of the
InputStreamWrapper only closes the Inputstream and releases the locks of the transaction but
a reference is kept in the globalOpenResources field of FileResourceManager.

When closing the InputStream of a lightweight transaction, also release the references in
globalOpenResources with context.closeResources().

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

View raw message