-
Notifications
You must be signed in to change notification settings - Fork 213
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
Comments
Reproducible info, please. Is colors ever in use or specific effects or
options or such? Web server serving, etc.
I'll do a general look. I'm already deeply suspicious of our heavy use of
String which is known to be terrible at fragmenting and copying memory,
but won't guess further without profiles in hand.
…On Sun, Dec 10, 2023, 4:33 PM David W Plummer ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#565>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACCSD366E72XHXA46KERY7LYIY2E5AVCNFSM6AAAAABAO4DYTKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZTINJWGI3DAMY>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
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
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.
The text was updated successfully, but these errors were encountered: