[
https://issues.apache.org/jira/browse/FELIX-5469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15785123#comment-15785123
]
Jeroen Daanen commented on FELIX-5469:
--------------------------------------
Yes this is ok for me, the issue can be closed. Thanks!
Here we use a cache size of 10000. Indeed the caching improves the performance
noticeably. I also checked if the method cache gets actually full and in our
case it gets full sometimes when loading a large configuration, even with a
cache size of 10000 (the number of services depends on what an end-user has
configured).
What the best default value for every use of the dependency manager would be is
a difficult question of course, I think 4096 is a good value and if someone
needs more, they can just specify the VM argument.
> Methodcache system size property is not used
> --------------------------------------------
>
> Key: FELIX-5469
> URL: https://issues.apache.org/jira/browse/FELIX-5469
> Project: Felix
> Issue Type: Bug
> Components: Dependency Manager
> Affects Versions: org.apache.felix.dependencymanager-r1
> Reporter: Jeroen Daanen
> Assignee: Pierre De Rop
> Priority: Trivial
> Fix For: org.apache.felix.dependencymanager-r9
>
>
> The code in InvocationUtil to set a custom size for the method cache has been
> commented out. See InvocationUtil.java.
> The default is not large enough for me.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)