Skip to content
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

Memory allocations fail in low memory situations, but too early #565

Open
davepl opened this issue Dec 10, 2023 · 2 comments
Open

Memory allocations fail in low memory situations, but too early #565

davepl opened this issue Dec 10, 2023 · 2 comments

Comments

@davepl
Copy link
Contributor

davepl commented Dec 10, 2023

If you increase the number of buffers to put any memory pressure on the system, various allocations will start to fail. Even allocating 4K when 50K is free, and 34K is the largest block, can fail.

I've mostly experienced this on builds like M5DEMO where there is no PSRAM.

@robertlipe
Copy link
Contributor

robertlipe commented Dec 12, 2023 via email

@rbergen
Copy link
Collaborator

rbergen commented Dec 24, 2023

There is some documentation about this in discussion #562, specifically the thread that starts with this comment: #562 (comment). That concerns the Fanset project on the M5StickC Plus with current dependencies, and WiFi and the web server enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants