please adjust the startup option `--query.memory-limit`

105 views
Skip to first unread message

Damien Joyce

unread,
Dec 1, 2021, 8:08:53 AM12/1/21
to ArangoDB
hi All,
I'm not clear on the global query memory limit option,  according to the docs
 it should be
--query.global-memory-limit=0 to override?

but testing it , it doesnt seem to take that :

2021-11-30T17:22:09Z [1] INFO [f6e0e] {aql} memory limit per AQL query automatically set to 20206057881 bytes. to modify this value, please adjust the startup option `--query.memory-limit`

Can you clarify please?
Thanks
Damien

Simran Spiller

unread,
Feb 5, 2022, 7:49:11 AM2/5/22
to ArangoDB
From what I understand, you set --query.global-memory-limit to 0. The log message references a different start-up option, however.
--query.memory-limit sets the default memory limit for individual queries. You can set a lower limit per query, and also a higher one if --query.memory-limit-override is set to true. --query.global-memory-limit controls the memory limit for all AQL queries that run in parallel. If you want no limit, then set both the global and default memory limit to 0.

Reply all
Reply to author
Forward
0 new messages