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

Bertrand Delacretaz resolved SLING-1288.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: OSGi Installer 3.0.2

Fixed in revision 900409, thanks for reporting!

There were two problems: the RegisteredResourceImpl objects were not cleaned up 
properly when replaced (at startup for example), and the list of 
RegisteredResourceImpl was not saved in one case, and became out of sync.

> 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
>             Fix For: OSGi Installer 3.0.2
>
>
> 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