You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by afs <gi...@git.apache.org> on 2015/05/01 14:28:23 UTC

[GitHub] jena pull request: JENA-901 LPDRuleEngine cache Guava from jena-sh...

Github user afs commented on a diff in the pull request:

    https://github.com/apache/jena/pull/47#discussion_r29499092
  
    --- Diff: jena-core/src/main/java/com/hp/hpl/jena/reasoner/rulesys/impl/LPBRuleEngine.java ---
    @@ -52,16 +66,22 @@
         protected boolean recordDerivations;
             
         /** List of engine instances which are still processing queries */
    -    protected List<LPInterpreter> activeInterpreters = new ArrayList<>();
    -    
    +    protected List<LPInterpreter> activeInterpreters = new LinkedList<>();
    +
    +    protected final int MAX_CACHED_TABLED_GOALS = 
    +			Integer.getInteger("jena.rulesys.lp.max_cached_tabled_goals", 512*1024);
    +
    --- End diff --
    
    getting System properties is problematic in some environments.  See JenaRuntime.getSystemProperty for some mitigation of this.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---