felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2667) FileInstall ability to install from watching directory by portions
Date Mon, 18 Oct 2010 21:34:31 GMT

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

View raw message