JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-43  -  MemLeak: ResourceCache (minor)
Posted Aug 08, 2012 - updated Sep 02, 2012
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     jandam
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Node
  • Resolution
    RESOLVED
  • Priority
    High
  • Reproducability
    Always
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 3.2
Issue description
There is minor memory leak due to shutdown hook in ResourceCache. ResourceCache is never finalized and lives till application shutdown.

Steps to reproduce this issue
set property "jppf.classloader.cache.size" to 1. Execute job from different JPPFClients

#4
Comment posted by
 jandam
Sep 02, 22:19
Fixed. Changes committed to SVN:

ResourceCache is closed when classLoader is closed. Added alive check. After closing cache all methods except close() throws ISE 'not alive'

The issue was updated with the following change(s):
  • This issue has been closed
  • The status has been updated, from New to Closed.
  • This issue's progression has been updated to 100 percent completed.
  • The resolution has been updated, from Not determined to RESOLVED.
  • Information about the user working on this issue has been changed, from jandam to Not being worked on.