Skip to content

Memory Use

mathisono edited this page Jun 8, 2026 · 3 revisions

By default, Crow stores messages in Flash, images in RAM. Images are considered ephemeral and are removed to make space and - of course - don't survive reboots. Messages in flash will survive reboots and firmware upgrades.

As flash has a limited lifetimes - NOR is typically good for 100,000+ updates and keeps its data for 20+ years, there is concern that Crow will quickly exhaust flash memory. However, as Crow updates Flash infrequently (and not at all when no messages are received), messages are very small compared to available Flash, and Flash is written using a leveling algorithm (essentially, a written flash block is not reused until all the other flash has been used first), we estimate flash wear to be - conservatively - about 50 years. This far exceeds the expected lifetime of both the flash memory and the node itself.

Messages stored in RAM

Despite the above, there is an option to store messages in RAM. To do this you will need to edit the Crow configuration by hand (see Advanced Configuration for details on how to do this) and add the following:

"messages": {
  "ram": true
}

A couple of things to note:

  1. Message will not survived reboots or upgrades. However, if your Mesh is running Text Store nodes (see Text Stores) these messages will be restored when Crow restarts.
  2. Only channel messages are restored. Personal, Direct Messages are never stored on another node so cannot be restored.

Crow Wiki

Pages

Markdown files

  • APRS.md
  • Backend-Selection-and-Deployment.md
  • Change-Log.md
  • Command-Reference.md
  • Configuration.md
  • Configuring-Channels.md
  • Home.md
  • LoRa-Gateway-Tags.md
  • Meshtastic-API.md
  • Memory-Use.md
  • Strict-Gatekeeper.md
  • USB-Storage.md
  • Winlink.md
  • _Sidebar.md

Maintenance

  • Keep every .md wiki page linked here.
  • Keep Home.md and _Sidebar.md in sync.
  • When a wiki page is removed, remove it from both the Home page inventory and this sidebar.

Clone this wiki locally