You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2010/01/18 11:59:54 UTC

[jira] Commented: (SLING-1288) OSGi Installer does not cleanup RegisteredResourceImpl temp files

    [ https://issues.apache.org/jira/browse/SLING-1288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801732#action_12801732 ] 

Bertrand Delacretaz commented on SLING-1288:
--------------------------------------------

Confirmed: each restart of the org.apache.sling.osgi.installer bundle creates an additional copy of each installed bundle, in
the form of a RegisteredResourceImpl.<timestamp> bundle.

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