[Pellet-users] OutOfMemoryException in RulesExample
Noah Zimmerman
noahz at stanford.edu
Tue Jul 31 01:43:09 UTC 2007
Hello,
I am working on a Pellet implementation of the Protégé SWRLRuleEngineBridge
[1]. I tried loading the sample ontology family.swrl.owl [2] included in the
Protégé distribution as illustrated in the RulesExample file in Pellet.
ont = "http://www.stanford.edu/~noahz/family.swrl.owl";
model =
ModelFactory.createOntologyModel(PelletReasonerFactory.
THE_SPEC, null);
model.read(ont);
After approximately 15 sec of churning I get an OutOfMemoryException.
INFO [AWT-EventQueue-0] (PelletOptions.java:82) - Reading Pellet
configuration file
jar:file:/C:/Protege/Pellet/dist/lib/pellet.jar!/pellet.properties
INFO [AWT-EventQueue-0] (KnowledgeBase.java:1470) - Expressivity:
ALCHOIF(D), Classes: 31 Properties: 30 Individuals: 100 Strategy:
RuleStrategy
INFO [AWT-EventQueue-0] (ABox.java:1527) - ABox consistency for 0
individuals
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
space
I have my heap size increased (java -Xmx1024m). Working with the latest
version of Pellet checked out today (revision 322) and the latest version of
Protégé OWL (3.3). Windows XP, 2G RAM, java 1.5
I get the same result when I run the RulesExample with the family ontology
(outside of Protégé):
RulesExample, JVM 1.5.0_03-b07, memory=1065M
INFO [main] (PelletOptions.java:82) - Reading Pellet configuration file
jar:file:/C:/Protege/Pellet/dist/lib/pellet.jar!/pellet.properties
INFO [main] (KnowledgeBase.java:1470) - Expressivity: ALCHOIF(D), Classes:
31 Properties: 30 Individuals: 100 Strategy: RuleStrategy
INFO [main] (ABox.java:1527) - ABox consistency for 0 individuals
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Have others gotten the family example to work successfully using Pellet? Any
ideas why it is causing such problems?
Thank you,
Noah
[1] http://protege.cim3.net/cgi-bin/wiki.pl?SWRLRuleEngineBridgeFAQ
Reproduced at [2] http://www.stanford.edu/~noahz/family.swrl.owl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owldl.com/pipermail/pellet-users/attachments/20070731/4dfb54ff/attachment.htm
More information about the Pellet-users
mailing list