-
Notifications
You must be signed in to change notification settings - Fork 7.6k
mdns_networking: Cannot allocate memory #11306
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
Memory allocation can happen within many different memory spaces. When It is very possible that the DRAM available space is short and It is possible to check what is the DRAM remaining space by calling |
@JetForMe - I have executed the example from Using Arduino Core 3.2.0. |
Yeah, it works for quite a while, until it doesn't. It first reports the errors, then eventually reboots. |
If you are using Windows to access https://learn.microsoft.com/en-us/answers/questions/2195980/windows-10-does-not-receive-mdns-response |
I see that you may be using macOS. In order to allow us to help you, we need a sketch and detailed issue replication information. |
It will be a challenge to give you the full sketch, but let me see what I can do. I'm using macOS to access it. But the node doing the lookup should have no bearing on whether or not the Arduino device crashes after advertising for a while. |
Board
UM Feather S3
Device Description
I'm using a UM Feather S3 on a custom PCB with a few additional components to drive an LED matrix panel.
Hardware Configuration
I'm using a UM Feather S3 on a custom PCB with a few additional components to drive an LED matrix panel.
Version
v3.2.0
IDE Name
Arduino IDE 2
Operating System
macOS
Flash frequency
80
PSRAM enabled
no
Upload speed
921600
Description
I have been working on this project that I just added mDNS to. I use it to advertise the built-in web server, nothing more. After just a few minutes running, I get a ton of logging like this:
Eventually I get a Core 1 panic'ed (corrupted stack) and the app restarts.
Sketch
Debug Message
Other Steps to Reproduce
Note that I don't think this is actually out of memory, if the free heap number is to be believed. But I can't find the code actually generating the line in the source. I'm using ESP Arduino 3.2.0
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: