Skip to content

context_memory_threshold_mb (integer)

  • Default value: 40 GB
  • Cloud default: Set to minimum of 50% of available system memory and 40GB during installation.

Sets a hard per-context memory cap.

This limit prevents runaway allocations inside a single memory context during query planning or analysis. If a memory context exceeds this threshold, the backend cancels the query and logs the violation.

This parameter acts as a safety guard and is independent of the Frontend Memory Manager thresholds.

Set to 0 to disable this check.