-
Notifications
You must be signed in to change notification settings - Fork 0
Memory Use
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.
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:
- 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.
- Only channel messages are restored. Personal, Direct Messages are never stored on another node so cannot be restored.
- Home
- Change Log
- Configuration
- Configuring Channels
- Backend Selection and Test Deployment
- Command Reference
- APRS Bridge
- LoRa Gateway Tags
- Meshtastic API Backend
- Memory Use
- Strict Gatekeeper
- Winlink
- USB Storage
APRS.mdBackend-Selection-and-Deployment.mdChange-Log.mdCommand-Reference.mdConfiguration.mdConfiguring-Channels.mdHome.mdLoRa-Gateway-Tags.mdMeshtastic-API.mdMemory-Use.mdStrict-Gatekeeper.mdUSB-Storage.mdWinlink.md_Sidebar.md
- Keep every
.mdwiki page linked here. - Keep
Home.mdand_Sidebar.mdin sync. - When a wiki page is removed, remove it from both the Home page inventory and this sidebar.