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

Ekb keeps everything in ram #210

Open
DavidLeoni opened this issue Mar 31, 2016 · 3 comments
Open

Ekb keeps everything in ram #210

DavidLeoni opened this issue Mar 31, 2016 · 3 comments

Comments

@DavidLeoni
Copy link
Member

The ODR Entity Knowledge Base (Ekb) holds imported and modified entities, concepts, etypes. It is not a real db, they're just Java data structures that currently holds everything in ram, and this is a problem especially for entitities (both created and imported). In the long run after many imports memory will eventually get saturated. We should have a real db that keeps in ram stuff and when it overflows it flushes to disk.

@gbella
Copy link

gbella commented Mar 31, 2016

Why cannot you flush the EKB after the end of each project?
For aborted projects this is admittedly not possible but that's another problem that could be solved, e.g., by flushing stuff that gets stale (for example, after 1 month).
These are workarounds but would they not work in practice?

@DavidLeoni
Copy link
Member Author

We can try to do as you suggest, it might work, but this stuff will require testing and bugfixing so we need to decide for which version of odr it will be implemented. For the 0.3.6 I think it's quite late...

@gbella
Copy link

gbella commented Mar 31, 2016

I agree. Let's leave it for later.

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

No branches or pull requests

2 participants