Files
roro9stack/site/content/howto/not-enough-memory.md
T
twislaandClaude Opus 5.5 454e879e60
CI / build (pull_request) Successful in 1m35s
Site / build (pull_request) Successful in 11s
Docs: caught up with v0.13.0 to v0.19.0
The documentation had kept up feature page by feature page and nowhere
else. Now also:

- the home page's App cards (notes of any size, pictures, sharing) and its
  note (the Shell, the VPN, the screenshot key);
- the guide: VPN in the Status Bar and in Settings, the three keys that work
  everywhere, screenshots of the Shell, a picture, sharing, the VPN page and
  the help panel;
- three how-tos: move files with your phone, set up the VPN, take a
  screenshot; where the files are and what things cost in memory;
- the FAQ: screenshots, and what listens on the network;
- the README's opening: what the firmware does today;
- the glossary: Tunnel, Sharing, Screenshot;
- every milestone's status line, with the version each thing shipped in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EhqxQ49eCju4CzKYNjZzwT
2026-10-08 01:47:00 +02:00

38 lines
1.8 KiB
Markdown

+++
title = "When a connection says \"not enough memory\""
description = "The device has about 107 KB to share, and a secure connection takes about 52 KB. How to free some, and why it happens."
weight = 8
[extra]
tag = "Memory"
+++
## What you see
Opening a Gemini page fails with *not enough memory: stop IRC or retry*. Or an update check or install makes IRC disconnect for a moment.
## What to do
1. **Stop IRC.** In the IRC App, type `/quit` and press <kbd>Enter</kbd>. IRC disconnects and **stays** disconnected until you type something again, so it does not take the memory back.
2. **Try again.** A Gemini fetch needs 55 KB free before it starts.
3. **Start IRC again** when you are done: type a line in the IRC App, and it reconnects and rejoins its channels.
## See it
The [System App](/guide/system/)'s **Memory** view shows free memory, the lowest since the device started, and the largest free block, drawn against the three memory floors (55, 40 and 20 KB). Watch it fall when a connection opens, and recover when it closes.
## What the other things cost
Small next to a secure connection, but they add up when memory is already short:
| | While it is in use |
|---|---|
| A note open in the editor, whatever its size | 17 KB |
| Sharing the card with a browser | 13 KB |
| The Shell | 7 KB |
| The VPN tunnel | under 2 KB |
| Showing a PNG | one free block of 32 KB, while it is decoded |
## Why it happens
The Cardputer's chip has no extra memory (no PSRAM). A secure (TLS) connection costs about **52 KB** at its peak, and IRC's own connection holds about 40 KB of the 107 KB there is. A second secure connection on top does not fit, so the firmware refuses it early instead of crashing. This is also why IRC steps aside during an update, and why the daily update check waits until IRC is not connected: see [Updates](/guide/updates/).