AllegroGraph memoryLimit query option

Where can I set the query parameter AllegroGraph memoryLimit , which is mentioned here ?

I am using AllegroGraph 4.9 and continue to receive QUERY_MEMORY_LIMIT_REACHED errors when performing one of my SPARQL queries via WebView.

The magazine says:

 Query has reached memory limit of 4,294,967,296 when requesting 1,089,870,432 additional bytes. <LISP query plan(?) goes here> Consider restructuring your query or increasing the value of the :memoryLimit query option. 

I will try to improve my query, but I would like to know where this memoryLimit parameter is memoryLimit .

0
source share
1 answer

AllegroGraph allows you to specify several configuration parameters either in the configuration file or in each specific request. To specify a parameter in a query, AllegroGraph extends the PREFIX syntax. For example, to change the memory limit, you must first defer:

 PREFIX franzOption_memoryLimit: <franz:8g> 

It’s not so often that if you can include more detailed information about the request, we can help diagnose and improve the situation. Another useful option is to register a request:

 PREFIX franzOption_logQuery: <franz:yes> 

For more help, contact AllegroGraph Support at support@franz.com.

+1
source

Source: https://habr.com/ru/post/1447996/


All Articles