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

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

Reminder to myself, I've set the default limit to an artificially low limit 
right now (10 open files) to try to force any issues to be visible. Before 
closing this issue, I'll set the default limit to 0 (i.e., unlimited).

> [Framework] It should be possible to limit number of open JAR files
> -------------------------------------------------------------------
>
>                 Key: FELIX-3071
>                 URL: https://issues.apache.org/jira/browse/FELIX-3071
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.2.2
>            Reporter: Richard S. Hall
>            Assignee: Richard S. Hall
>             Fix For: framework-4.0.0
>
>
> Currently, the framework opens a ZipFile for each bundle JAR file and one for 
> each embedded JAR file on a bundle's class path. Needless to say, if you have 
> lots of bundles in your system, this can lead to lots of open files for the 
> framework process. It should be possible to modify the framework to obey some 
> limit on the number of open ZipFiles.
> A general approach would be to have a configurable limit and whenever the 
> framework wanted to open another, if the limit was exceeded  it would have to 
> close a not recently used ZipFile. Theoretically, this shouldn't be too much 
> of an issue for classes in particular, because once they are loaded they are 
> cached in memory and it isn't necessary to go back to the disk.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to