Re: java.lang.OutOfMemoryError: GC overhead limit exceeded when load ontology file from uri

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/java-lang-OutOfMemoryError-GC-overhead-limit-exceeded-when-load-ontology-file-from-uri-tp1860p1865.html

Hi,

Most ontology tools do not preserve atom order, including Protégé.


Owlready write them in quadstore order, which should be directly dependent of the reading order -- also Sqlite3 do not explicitly garantee that.


You may also try to increase Java memory (using the latest version of Owlready) with:

owlready2.reasoning.JAVA_MEMORY = 4000 # Default is 2000

Jiba