Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQWRL queries use LOTS of memory. #40

Open
DainTorson opened this issue Mar 20, 2018 · 1 comment
Open

SQWRL queries use LOTS of memory. #40

DainTorson opened this issue Mar 20, 2018 · 1 comment

Comments

@DainTorson
Copy link

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?

@martinjoconnor
Copy link
Member

Running a SQWRL query activates reasoning (via an OWL 2 RL-based reasoner [1]). I would increase your memory size if possible.

[1] https://github.com/protegeproject/swrlapi/wiki/OWL2RLTab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants