cpp-memory-opt
OfficialCut ESP32 memory usage and fragmentation.
Authorsmart-swimmingpool
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Memory optimization for ESP32-based pool-controller firmware to reduce heap fragmentation and minimize dynamic allocations.
Core Features & Use Cases
- Eliminate risky dynamic allocations in hot paths (e.g., String usage in loops)
- Size and manage ArduinoJson buffers safely (StaticJsonDocument sizing)
- Prefer function-local buffers and proper NVS usage for robust 24/7 operation
- Improve stability for long-running deployments and memory-constrained devices
Quick Start
Run the memory optimization routine on the ESP32 pool-controller project to reduce heap fragmentation and RAM usage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cpp-memory-opt Download link: https://github.com/smart-swimmingpool/pool-controller/archive/main.zip#cpp-memory-opt Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.