# ESP32 Memory Analysis -- Case Study

DevFeed: [ESP32 Memory Analysis -- Case Study](<https://devfeed.tech/articles/esp32-memory-analysis-case-study-13855.md>)

Original publisher: [Read original article](<https://developer.espressif.com/blog/esp32-memory-analysis-case-study/>)

Author: John Lee

Published: 2020-06-01T00:00:00Z

Content type: article

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>), [Internet of things](<https://devfeed.tech/topics/iot.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [aws-iot](<https://devfeed.tech/tags/aws-iot.md>), [blog](<https://devfeed.tech/tags/blog.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [embedded-systems](<https://devfeed.tech/tags/embedded-systems.md>), [esp-idf](<https://devfeed.tech/tags/esp-idf.md>), [esp32](<https://devfeed.tech/tags/esp32.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [iot](<https://devfeed.tech/tags/iot.md>), [logging](<https://devfeed.tech/tags/logging.md>), [memory-optimization](<https://devfeed.tech/tags/memory-optimization.md>), [tls](<https://devfeed.tech/tags/tls.md>)

## AI overview

This ESP32 case study examines how hardware memory regions and ESP-IDF configuration options affect memory utilization. It focuses on single-core ESP32 IoT applications and uses an AWS IoT sample requiring TLS mutual authentication to analyze available heap and task memory usage.

## Source excerpt

Memory has significant impact on silicon cost as well as die size, hence from hardware perspective having optimal size is important and from software perspective being able to utilise it to fullest is crucial. In this post we will discuss some upcoming features and commonly available configuration options (knobs) in ESP-IDF to allow end application to utilise various internal memory regions in most optimal way.