-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Where did my RAM go? #5166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The OS has gotten larger as it supports more features, hardware and software. |
@thezenox If you're using NimBLE as stated and have PSRAM, you can move the NimBLE core to PSRAM by setting |
@thezenox Can I consider your question covered and solved? |
kind of, yes. Setting |
Hey guys, I am using esp32 cam module with micropython firmware. When I capture photos as many as 20 or 30 kb of size, it runs out of ram and the board resets itself. People say it has 500kb of sram but I cannot use it. The similar issue happened when I used esp8266. This time, when I create lists as large as 30kb, it runs out of ram and resets itself. Do you have any suggestion? |
@SaitamaTechno this is the Arduino issue tracker, not the micropython one :) Here camera works fine with much larger images. |
Hardware:
Description:
Using NimBLE + WiFi TLS and some bigger custom buffers with a recent update (not sure yet, which version exactly made the change) I don't have enouth heap for WiFiSecure TLS (min ~65kB) left without changing my code. With the prior Version of arduino-esp32 there was no problem.
Questions
Within the commit history, I didn't find any big changes leading to more RAM / heap usage.
Does anybody know what parts recently increased memory usage or where it is possible to free up some RAM?
Are there any new possibilities to utilize the SPIRAM for BLE, WiFi, ...?
The text was updated successfully, but these errors were encountered: