Repository navigation
ThothTerm • ThothDock 0.5.7 (507): snap services start when asked, so an older phone keeps its processes and memory
- Package:
com.thothterm.debian(unchanged), tagstrixie-v*; guest Debian GNU/Linux 13 (trixie); engine ThothDock v0.4.3. - Why: each running snap service holds a PRoot process. Measured on a Galaxy A16: 2 to 3 processes and about 50 MB as the phone counts it (about 8 MB of it anonymous memory) per service, while Android allows about 32 processes. Services started at install and with every new window, so a few of them used up the budget of an older phone.
- What changed:
snap installno longer starts a service; it says how (sudo snap start <snap>).sudo snap start --enable <snap>also starts it with each new window;sudo snap stop --disable <snap>switches it off. A new window runssnap autostartonly when a service is enabled.snap servicesshows which start with each window.snap refreshruns again what ran before it and what was enabled, and keeps those lists. - Measured on the phone (QA build of this version): installing mosquitto and redis left no service process and the process count at 10 (0.5.6: 25 to 30 for the same two); start,
--enable,autostartand a brand-new window each did what they should. - Existing snaps: services of snaps installed before this version start on request from now on; run
sudo snap start --enable <snap>to bring one back with each window. - Not tested: a refresh with a running service on the phone (unit tests only); a phone with little RAM (this one has 8 GB).
- Still true from 0.5.6: Flatpak apps (14 tried); LibreOffice starts but stops at its
/proccheck; Krita, Okular and Meld need a display; open a new window after a network change.
Verify: ThothTerm-ThothDock-v0.5.7.apk is the reproducible F-Droid build plus a signature (certificate SHA-256 ca326f0676474f7de4813cd27ec8c618767926790be5e6936c4c112e2bab5ca6); see SIGNING-MANIFEST.txt and SHA256SUMS.