You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2010/10/18 23:34:31 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=12922282#action_12922282 ] 

Richard S. Hall commented on FELIX-2667:
----------------------------------------

Something sounds fishy about this.

I believe that File Install installs all bundles in one pass and then starts them. This is pretty much identical to what the framework would do, for example, when reloading the cache. I don't see why batching would necessarily help in this situation. If it were a problem for File Install, it would be a problem for the framework in general, I would think.

Out of curiosity, how many bundles are we talking about?

> 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.
-
You can reply to this email to add a comment to the issue online.