Meilisearch Disk Usage Keeps Growing / No Space Left on Device

Share
Ongoing Self-hosted Updated November 15, 2026Based on 2 user reportsHow we research

Quick answer

Meilisearch's LMDB storage reuses freed space internally but does not return it to the OS, and it doesn't compact by design. Disk can only be reclaimed by a dump and reimport, or by freeing tasks and temp space.

Most likely fix: Free what you can

How to fix it

Try these in order — the most common fix is first.

  1. 1. Free what you can

    1. Delete finished tasks with DELETE /tasks
    2. Free space on the partition and on /tmp, then resend failed tasks
    Did this fix it?
  2. 2. Shrink the database

    1. Create a dump with POST /dumps
    2. Start a fresh instance and import the dump, which rebuilds a compact database
    Did this fix it?
  3. 3. Reduce index size

    1. Remove fields that are not searchable, filterable, sortable or displayed
    2. Restrict searchable and filterable attributes
    Did this fix it?

Symptoms

data.ms keeps growing after deleting documents; writes fail with no_space_left_on_device.

Why it happens

  • LMDB marks deleted space as reusable but doesn't release it to the OS
  • Settings, facets and languages inflate index size
  • Task queue reached about 10 GiB
  • Temporary storage (/tmp) full during indexing

This guide also covers

  • meilisearch no space left on device
  • meilisearch disk usage high
  • meilisearch data.ms size

Still not working?

If Meilisearch keeps failing, you're not alone. See every Meilisearch problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Meilisearch errors

All 11 Meilisearch errors and fixes →