[Yandex DataLens] Memory limit has been exceeded during query execution
Written by
Updated at September 24, 2026
ERR.DS_API.DB.MEMORY_LIMIT_EXCEEDED
There is not enough memory in the data source to run the query.
This error occurs when the database does not have enough memory to execute a DataLens query.
To fix this error, optimize the source table or reduce the amount of data in the query using chart filters.
To optimize tables, contact your database administrator.
If you are going to perform optimization yourself, try enhancing your database with indexes and sorts.
Tip
If you use a ClickHouse® database as a data source, find the DataLens queries in system.query_log
If you use a PostgreSQL MDB as a data source, check the performance analysis.
ClickHouse® is a registered trademark of ClickHouse, Inc