-
Notifications
You must be signed in to change notification settings - Fork 165
MEMORY LEAKAGE | LoPy | 1.15.0.b1 | OSError: [Errno 12] ENOMEM - wifis = wlan.scan() #136
Comments
When in a place where there are many Wi-Fi's ... it crashes ... as it run out of memory to allocate. Before scanning for Wi-fis ... FREE MEM 35808 .... |
When in a place where there are many Wi-Fi's ... it crashes ... as it run out of memory to allocate. Before scanning for Wi-fis ... FREE MEM 35808 .... |
So I found the offending code: File: modwlan.c
|
For a 1st, I've added a Try-catch ... so we catch the error, so it won't crash the app.
Also, working on a patch ... for the firmware.... |
@danieleftodi thanks for pointing this one out. I've fixed and it will be ready for the next release. |
@danicampora ... about when will you release a new firmware? (wondering, since we are in a time crunch :-) ....) |
@danieleftodi it's planned for tomorrow end of the day :-) |
Great :-D |
Hi again, could you please share a link to the new firmware for LoPy? Since, https://software.pycom.io/downloads/LoPy_868-1.16.0.b1.tar.gz doesn't seem to work :-( |
1 similar comment
Hi again, could you please share a link to the new firmware for LoPy? Since, https://software.pycom.io/downloads/LoPy_868-1.16.0.b1.tar.gz doesn't seem to work :-( |
pull hotfixes back from pms:Dev
(sysname='LoPy', nodename='LoPy', release='1.15.0.b1', version='v1.8.6-849-baa8c33 on 2018-01-29', machine='LoPy with ESP32', lorawan='1.0.0')
Traceback (most recent call last):
File "main.py", line 129, in
OSError: [Errno 12] ENOMEM
Line 129 :: wifis = wlan.scan()
The text was updated successfully, but these errors were encountered: