Weaviate 'Memory Pressure: Cannot Init Shard' Error

Share
Workaround available Kubernetes, Linux Updated November 15, 2026How we research

Quick answer

This error means the OS limit on memory-mapped files (vm.max_map_count) is too low for your shard count. Raise it and restart the affected pods.

Most likely fix: Raise vm.max_map_count

How to fix it

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

  1. 1. Raise vm.max_map_count

    1. Increase vm.max_map_count on the host to roughly 3-4x its current value
    2. Restart affected pods or containers
    3. Applies to all versions per the official known-issues page
    Did this fix it?

Symptoms

Log shows 'memory pressure: cannot init shard: not enough memory mappings'; tenant activation or shard startup fails.

Why it happens

  • vm.max_map_count too low for the number of shards or tenants

This guide also covers

  • weaviate cannot init shard
  • weaviate not enough memory mappings
  • weaviate vm.max_map_count

Still not working?

If Weaviate keeps failing, you're not alone. See every Weaviate 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

The same problem in other apps

All not loading, error messages & connection guides →

Other Weaviate errors