Re: Memory allocation error while running owlready2 pellet reasoner
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Memory-allocation-error-while-running-owlready2-pellet-reasoner-tp1394p1397.html
Hi,
It seems that you computer is running out of memory.
Owlready maintains a cache of entities. By default, the cache is limited to 65536 entities. It should be OK unless you have a very small memory AND you load more than 65536 distinct entities.
The cache is availble as owlready2.namespace._cache.
If you want to reduce it, you may try:
owlready2.namespace._cache = [None] * 10000
Jiba