OSGi Installer does not cleanup RegisteredResourceImpl temp files
-----------------------------------------------------------------

                 Key: SLING-1288
                 URL: https://issues.apache.org/jira/browse/SLING-1288
             Project: Sling
          Issue Type: Improvement
          Components: Installer
    Affects Versions: OSGi Installer 3.0.2
            Reporter: Julian Sedding


The OSGi Installer service writes RegisteredResourceImpl.[timestamp] files into 
its felix bundle directory (bundlexx/data) and never cleans them up. From my 
tests it seems that the disc space taken increases linearly with each bunlde 
restart (and thus also with every server restart).

In the scenario I tested 63MB of data was written to the directory on each 
bundle start. I.e after 17 restarts more than 1GB disc space is lost.

The RegisteredResourceImpl files should be removed when they are no longer 
needed in order to reclaim disc space.

-- 
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