[Pellet-users] Out of memory error when running too many SWRL rules

Lamia Abo Zaid lamia_aly at hotmail.com
Fri Jun 27 14:06:07 UTC 2008


Dear All, 

 

I have an ontology that contains 15 SWRL rules, it gives an out of memory
exception. If I reduce the rules to 9 it works fine , is there a maximum
number of rules that pellet can support ? or how can I overcome this issue ?

I have set the following pellet options 

           PelletOptions.USE_CONTINUOUS_RULES = true;

            PelletOptions.IGNORE_UNSUPPORTED_AXIOMS=true;

           PelletOptions.DL_SAFE_RULES=true; 

 

Please find the stack trace below 

 

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

    at java.util.Arrays.copyOf(Arrays.java:2858)

    at java.util.BitSet.ensureCapacity(BitSet.java:155)

    at java.util.BitSet.expandTo(BitSet.java:170)

    at java.util.BitSet.set(BitSet.java:265)

    at org.mindswap.pellet.DependencySet.<init>(DependencySet.java:97)

    at org.mindswap.pellet.RuleBranch.tryBranch(RuleBranch.java:149)

    at
org.mindswap.pellet.RuleStrategy.createDisjunctionsFromBinding(RuleStrategy.
java:413)

    at org.mindswap.pellet.RuleStrategy.applyRULERule(RuleStrategy.java:148)

    at org.mindswap.pellet.RuleStrategy.complete(RuleStrategy.java:319)

    at org.mindswap.pellet.ABox.isConsistent(ABox.java:1615)

    at org.mindswap.pellet.ABox.isConsistent(ABox.java:1499)

    at
org.mindswap.pellet.KnowledgeBase.consistency(KnowledgeBase.java:1568)

    at
org.mindswap.pellet.KnowledgeBase.isConsistent(KnowledgeBase.java:1589)

    at
org.mindswap.pellet.KnowledgeBase.ensureConsistency(KnowledgeBase.java:1595)

    at org.mindswap.pellet.KnowledgeBase.classify(KnowledgeBase.java:1601)

    at org.mindswap.pellet.owlapi.Reasoner.classify(Reasoner.java:283)

    at SWRL_Example.main(SWRL_Example.java:69) 

 

 

 

Thanks 

 

Lamia 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20080627/e381d213/attachment.htm 


More information about the Pellet-users mailing list