Storage Management

Heaper stores data locally on your device for offline access and fast performance. Over time, cached thumbnails and synced content can accumulate. Here's how to manage local storage.

What's Stored Locally

DataDescription
SQLite databaseLocal copy of block metadata, relations, and search index
ThumbnailsPreview images at multiple sizes
Cached filesFiles downloaded for offline access

Clearing Local Data

To free up space while keeping your data safe on the server:

  1. Open Settings → Heaps
  2. Select the heap you want to clear
  3. Click Clear Cache
  4. Confirm the action

This will just remove the full files of all the blocks that are not pinned to your device. The pinned attribute not on the block but on the file(better wording planned) means that it gets downloaded automatically on that specific device. Your data on the server is not affected.

Storage on Self-Hosted Instances

If you're self-hosting, your server stores:

  • PostgreSQL database — All block data, relations, and CRDT documents
  • Thumbnails — Generated previews (/mnt/thumbnails volume)
  • File storage — User-uploaded files (/mnt/storage volume)
  • Backups — Automated database backups (/mnt/backups volume)

Monitor disk usage on your server and configure backup retention to control how many days of backups are kept.