# Optimizing RAM Usage on ESP32-C2

DevFeed: [Optimizing RAM Usage on ESP32-C2](<https://devfeed.tech/articles/optimizing-ram-usage-on-esp32-c2-13734.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/2025/11/esp32c2-ram-optimization/>)

Author: John Lee

Published: 2025-11-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Blog on Developer Portal](<https://devfeed.tech/sources/blog-on-developer-portal.md>)

Topics: [ESP32](<https://devfeed.tech/topics/esp32.md>), [ESP-IDF](<https://devfeed.tech/topics/esp-idf.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>)

Tags: [ble](<https://devfeed.tech/tags/ble.md>), [blog](<https://devfeed.tech/tags/blog.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [esp32-c2](<https://devfeed.tech/tags/esp32-c2.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>), [memory-optimization](<https://devfeed.tech/tags/memory-optimization.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [practitioner](<https://devfeed.tech/tags/practitioner.md>), [wi-fi](<https://devfeed.tech/tags/wi-fi.md>)

## AI overview

This article explains how to optimize RAM usage on the ESP32-C2 with ESP-IDF v5.5. It describes the chip's memory layout, methods for measuring memory consumption, and configuration changes that can free more than 100 KB of additional memory in suitable applications.

## Source excerpt

ESP32-C2 has 256 KB of physical RAM, but with default configurations, only 24 KB remains free in typical Wi-Fi + BLE scenarios. This article explores comprehensive memory optimization strategies that can free up over 100 KB of RAM, making complex applications viable on this cost-effective chip.