You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Balazs Zsoldos (JIRA)" <ji...@apache.org> on 2012/06/15 11:57:42 UTC

[jira] [Commented] (FELIX-2667) FileInstall ability to install from watching directory by portions

    [ https://issues.apache.org/jira/browse/FELIX-2667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295561#comment-13295561 ] 

Balazs Zsoldos commented on FELIX-2667:
---------------------------------------

Hi,

I think a similar issue if not the same happened at our place as well. The problem is not really the batch but the following:

We use Equinox 3.7.2. If we have the same bundle configured from somewhere in the config.ini and also we drop it into the load directory that bundle and all of the dependent bundles are refreshed transitively. See DirectoryWatcher 494. The "installedBundles" variable contains the duplicated jars. Refresh is called in every two seconds and after a while there is an OutOfMemoryError.

Regards,
Balazs

                
> FileInstall ability to install from watching directory by portions
> ------------------------------------------------------------------
>
>                 Key: FELIX-2667
>                 URL: https://issues.apache.org/jira/browse/FELIX-2667
>             Project: Felix
>          Issue Type: New Feature
>          Components: File Install
>    Affects Versions: fileinstall-3.0.2
>         Environment: Fileinstall-3.0.3-SNAPSHOT, FUSE 4.3.0
>            Reporter: Volodymyr Buell
>         Attachments: felix.fileinstall-files-batch-size-vb.patch
>
>
> In big projects (more than 30 bundles) deploying all the bundles to watching directory leads to bump of memory and CPU usage (sometimes till OutOfMemory). We should limit files to be deployed at a time.
> The patch introduces new integer property "felix.fileinstall.files.batch.size" to enable processing watching directory by chunks. Default value - 0, which disables limit.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira