@@ -79,7 +79,27 @@ The second option is the recommended one, as it signals the intent more clearly,
7979and makes the cache behave "as expected", i.e. use up to the configured
8080memory limit and not just 56% of it.
8181
82- #### Adjustable Stream Transaction size
82+ ## Higher reported memory usage for AQL queries
83+
84+ Due to the [ improved memory accounting in v3.12] ( whats-new-in-3-12.md#improved-memory-accounting ) ,
85+ certain AQL queries may now get aborted because they exceed the defined
86+ memory limit but didn't get killed in previous versions. This is because of the
87+ more accurate memory tracking that reports a higher (actual) usage now. It allows
88+ ArangoDB to more reliably detect and kill queries that go over the per-query and
89+ global query memory limit, potentially preventing out-of-memory crashes of
90+ _ arangod_ processes.
91+
92+ In particular, AQL queries that perform write operations now report a
93+ significantly higher ` peakMemoryUsage ` than before. This is also
94+ reflected in the ` arangodb_aql_global_memory_usage ` metric. Memory used for
95+ ArangoSearch ` SEARCH ` operations is now also accounted for in the metric.
96+
97+ You may need to adjust affected queries to use less memory or increase the
98+ per-query limit with the [ ` memoryLimit ` query option] ( ../../aql/how-to-invoke-aql/with-arangosh.md#memorylimit )
99+ or its default using the ` --query.memory-limit ` startup option. You can adjust
100+ the global limit with the ` --query.global-memory-limit ` startup option.
101+
102+ ## Adjustable Stream Transaction size
83103
84104[ Stream Transactions] ( ../../develop/transactions/stream-transactions.md ) may
85105now be limited to smaller transaction sizes because the maximum transaction size
@@ -119,7 +139,7 @@ server:
119139 - ` x-http-method-override `
120140 - ` x-method-override `
121141
122- This functionaltiy posed a potential security risk and was thus removed.
142+ This functionality posed a potential security risk and was thus removed.
123143 Previously, it was only enabled when explicitly starting the
124144 server with the ` --http.allow-method-override ` startup option.
125145 The functionality has now been removed and setting the startup option does
0 commit comments