How to deal with small heap on ESP32-C3
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Domain
- embedded-iot, performance
Research direction
The payload names no source files or tests. Start by reading the linked issue #10093 and the memory figures in this report (about 83 kB free at startup, about 33 kB for an HTTPS server via mbedTLS). Done means a maintainer-agreed proposal, such as which network libraries to freeze, rather than a code change. This is design work, so it is not a good first contribution.
Written by the indexing model from the issue text.
Description
#10093 pointed out MemoryError problems on ESP32-C3 when using adafruit_httpserver. The amount of free RAM available on startup is ~83 kB, and that must be shared with between the VM heap and ESP-IDF needs like mbedTLS.
For instance, if an HTTPS server is started, about 33 kB of system heap is needed. That leaves minimal space for program, libraries and data.
We might consider freezing some network libraries to make this chip more usable.
- Dominant language
- C
- Stars
- 4.6k
- Forks
- 1.4k
- Avg merge
- 1d
- Merged PRs (30d)
- 212
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from adafruit/circuitpython
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
adafruit/circuitpython#11877 ·
Maintainers usually reply within 1 day
-
documentation rp2
Difficulty 1/5 1-3 hours Newbie friendliness 67/100
adafruit/circuitpython#11779 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
adafruit/circuitpython#11689 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
adafruit/circuitpython#11876 ·
Maintainers usually reply within 1 day
-
I2S audio playback is garbled for tone and mp3 playback on Metro ESP32-P4Possibly taken @mikeysklar claimed this 1 day ago. Openbug
adafruit/circuitpython#11873 · 6 comments · 1 assignee ·
Maintainers usually reply within 1 day
All issues in adafruit/circuitpython
Similar issues
-
build: man page directory doubledPossibly taken @zeusgoose claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
ATtiny xy2: Missing #else path may lead to inconsistencies in core digital_pin_to_timer[] arrayOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SpenceKonde/megaTinyCore#1294 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ROCm/rocm-libraries#15866 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
-
更新笔记收藏里的 AIHOT 官网地址Open
Difficulty 1/5 Under an hour Newbie friendliness 75/100