SolarOS

SolarOS 4.17.7 manual · command

mem

Print heap and managed PSRAM status; policy also shows allocation-class counters, guarded fallback limits, and the last tagged failure.

Usage

UsageDescription
mem [policy]Print heap and managed PSRAM status; policy also shows allocation-class counters, guarded fallback limits, and the last tagged failure.
mem reclaimAsk registered owners to release rebuildable idle data, compact eligible buffers, and show recovered bytes and the largest free block before and after.
mem compactCompact unpinned movable buffers and show the largest free block before and after. Raw pointers, DMA and stacks stay fixed.
mem ownersShow managed-region bytes, allocation counts, movable bytes and largest object by owner tag. SDK-region totals remain in mem policy.