3194
MariaDBERRORCommonServer / InnoDBMEDIUM confidence
Out of memory saving to data dictionary
Production Risk
High — DDL failure may leave schema in inconsistent state.
Why it happens
- 1Server ran out of memory while attempting to persist metadata to the data dictionary.
- 2High memory pressure during DDL operations.
How to reproduce
trigger — this will error
trigger — this will error
-- Occurs during CREATE TABLE or ALTER TABLE under extreme memory pressure.
expected output
ERROR 3194 (HY000): Out of memory saving data to dictionary.
Fix 1
Increase server memory
Increase server memory
-- Increase innodb_buffer_pool_size and system RAM.
Why this works
More available memory reduces OOM risk during DDL.
Fix 2
Retry the DDL during low-load window
Retry the DDL during low-load window
-- Schedule DDL during off-peak hours.
Why this works
Reduces competing memory consumers.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 3194 ER_OOM_SAVE_IN_DICT
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev