---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.6
alternate:
  - https://ydb.tech/docs/en/troubleshooting/spilling/service-not-started.md?version=main
  - https://ydb.tech/docs/ru/troubleshooting/spilling/service-not-started.md?version=main
sourcePath: en/core/troubleshooting/spilling/service-not-started.md
---
> **Documentation Index:** Fetch the complete configuration index at https://ydb.tech/docs/en/llms.txt

# Spilling Service Not Started

Spilling is disabled, but the system ran out of memory during query execution. When spilling is disabled, YDB cannot offload intermediate data to disk, which leads to query failure when available memory is exhausted.

## Diagnostics

Check the spilling service configuration:

- Verify that [`table_service_config.spilling_service_config.local_file_config.enable`](https://ydb.tech/docs/en/reference/configuration/table_service_config.md?version=main#local-file-config-enable) is set to `true`.

## Recommendations

To fix this error, enable spilling:

1. Set [`table_service_config.spilling_service_config.local_file_config.enable`](https://ydb.tech/docs/en/reference/configuration/table_service_config.md?version=main#local-file-config-enable): `true` in your configuration.

For more details on enabling spilling, see the [Enable](https://ydb.tech/docs/en/reference/configuration/table_service_config.md?version=main#enable) section.

{% note info %}

Read more about the spilling architecture in [Spilling in YDB](https://ydb.tech/docs/en/concepts/query_execution/spilling.md?version=main#spilling-in-ydb-short-name).

{% endnote %}
