urequests causing memory allocation failed

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
ttadam
Posts: 18
Joined: Sun Apr 26, 2020 3:36 pm

urequests causing memory allocation failed

Post by ttadam » Wed Nov 25, 2020 10:07 pm

Hello there,

I am using a public library for OTA update.
This library is working great, but causing memory allocation errors at two place:
- When urequests getting called
- When downloading larger .py files, (larger means, longer 240 lines)

"memory allocation failed, allocating 4352 bytes"
I tried to call gc.collect() more often, but didn't really solved the issue.
Is there a way around this issue?
Thanks!

Post Reply