SQWRL queries use LOTS of memory. Am I doing something wrong? Here is my KnowledgeBase class (I'm using Scala, but I don't think it makes a very big difference):
When I'm trying to extract approximately one hundred values, the program uses 6+ gb of memory and I eventually end up with OutOfMemoryError. Even several data extraction operations increase memory usage up to 500+Mbs. Am I using the API in the wrong way?
SQWRL queries use LOTS of memory. Am I doing something wrong? Here is my KnowledgeBase class (I'm using Scala, but I don't think it makes a very big difference):
https://gist.github.com/DainTorson/4cd5deb4e31c7664c4f56d0362d5d1d5
When I'm trying to extract approximately one hundred values, the program uses 6+ gb of memory and I eventually end up with OutOfMemoryError. Even several data extraction operations increase memory usage up to 500+Mbs. Am I using the API in the wrong way?