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

Logic for memory allocation #96

Open
mdrishti opened this issue Dec 3, 2024 · 0 comments
Open

Logic for memory allocation #96

mdrishti opened this issue Dec 3, 2024 · 0 comments

Comments

@mdrishti
Copy link

mdrishti commented Dec 3, 2024

Hi,

I have made a local qlever sparql endpoint for my data, which combines two knowledge graphs (~23 GB of uncompressed ttl files; ~250,000,000 triples). Couple of simple join queries worked. But for some others, I keep getting errors like the following:

Tried to allocate 3.3 GB, but only 2.4 GB were available. Clear the cache or allow more memory for QLever during startup,

which I do (clear the cache and allow more mem - see config file below). But I am not quite sure 'what' memory is being referred to here - MEMORY_FOR_QUERIES, CACHE_MAX_SIZE or CACHE_MAX_SIZE_SINGLE_ENTRY ? Or is it something else?

I am pretty new to sparql and knowledge graphs. But I think I have enough memory to handle sparql queries on my server. Can't share the data as of now. Maybe, it is of not much help in the absence of data, but here is the config file :
https://github.com/digital-botanical-gardens-initiative/integrate_trydb_globi_enpkg/blob/master/qlever/Qlever.try_globi_v0-2_ttl

And here is the query I am trying to run:
https://github.com/digital-botanical-gardens-initiative/integrate_trydb_globi_enpkg/blob/master/sparqlQueries/q2.spql

I would appreciate if you can help me understand how to tune the parameters to avoid the memory allocation errors.
-DT

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

1 participant