Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Connecting to WiFi network is consuming 38 / 12 from Heap #894

Closed
HansRemmerswaal opened this issue Jan 7, 2023 · 3 comments
Closed

Connecting to WiFi network is consuming 38 / 12 from Heap #894

HansRemmerswaal opened this issue Jan 7, 2023 · 3 comments
Labels
question Question about something

Comments

@HansRemmerswaal
Copy link

Question
Is it normal that Connecting to the WiFi network is taking

  • 38 KB from the Free Heap
  • 12 KB from the Max Alloc Heap

After factory reset, and EMS-ESP not connected EMS bus
Heap (Free/Max Alloc) = 168 / 95

Disable Analog Sensors and mDNS Service, enable NTP and set fixed IP
Heap (Free/Max Alloc) = 177 / 107

Setup WiFi
Heap (Free/Max Alloc) = 139 / 95

emsesp_info (1).txt

@HansRemmerswaal HansRemmerswaal added the question Question about something label Jan 7, 2023
@MichaelDvP
Copy link
Contributor

Yes each network connection needs some heap. You have a E32, if you only connect wifi and not eth, go to settings boardprofile, switch to custom and disable the phy. If using ethernet, clear the network ssid to disable wfi.
You can also disable OTA to save memory, set AP to never, and (in my build) set weblog level to off (clearing the buffer).

@HansRemmerswaal
Copy link
Author

HansRemmerswaal commented Jan 7, 2023

Heap (Free / Max Alloc)
100 KB / 39 KB

disabled OTA
Heap (Free / Max Alloc)
102 KB / 39 KB

disabled ethernet
Heap (Free / Max Alloc)
118 KB / 45 KB

Great!
Maybe something to add to the It may be memory related in
https://emsesp.github.io/docs/Troubleshooting/#ems-esp-sometimes-crashes-and-restarts

@proddy
Copy link
Contributor

proddy commented Jan 7, 2023

Maybe something to add to the It may be memory related in
https://emsesp.github.io/docs/Troubleshooting/#ems-esp-sometimes-crashes-and-restarts

done!

@proddy proddy reopened this Feb 13, 2023
@emsesp emsesp locked and limited conversation to collaborators Feb 13, 2023
@proddy proddy converted this issue into discussion #1019 Feb 13, 2023
@proddy proddy reopened this Feb 19, 2023
@proddy proddy closed this as completed Feb 19, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
question Question about something
Projects
None yet
Development

No branches or pull requests

3 participants