(v1.21) SSL BIGNUM - Memory allocation failed #12791
-
After upgrading to MicroPython version 1.21 I'm getting the following error when attempting to set up an SSL connection to my MQTT broker.
This is with the following code
The error occurs right after startup (within 10 seconds), so this is not the cause of some longer-term memory leak. Everything worked fine with version 1.20. And there seems to be ~100k of MicroPython memory available (using gc.mem_free()). There are some user c modules in this project, but they don't use up a lot of memory, and they are mostly to speed up calculations and compression (of very specific assets). What should I look at to resolve this error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@bobveringa I suspect this is the same underlying cause as https://github.com/orgs/micropython/discussions/12788 -- I will reply there. |
Beta Was this translation helpful? Give feedback.
@bobveringa I suspect this is the same underlying cause as https://github.com/orgs/micropython/discussions/12788 -- I will reply there.