Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

memory allocation failed #2

Open
kekemuyu opened this issue Mar 1, 2021 · 2 comments
Open

memory allocation failed #2

kekemuyu opened this issue Mar 1, 2021 · 2 comments

Comments

@kekemuyu
Copy link

kekemuyu commented Mar 1, 2021

board: Generic ESP32 module

run example/pingpon/device1/main.py ,log error info:

Traceback (most recent call last):
File "", line 1, in
File "", line 1, in
File "sx1262.py", line 2, in
MemoryError: memory allocation failed, allocating 704 bytes

@ehong-tl
Copy link
Owner

ehong-tl commented Mar 1, 2021

May I know which ESP32 module you are using? It could be your module comes with less RAM.

Or you can try to freeze the code into firmware to mitigate this issue.

@kekemuyu
Copy link
Author

kekemuyu commented Mar 1, 2021

esp32-wroom-32 and esp32-pico-kit are both have the same error.Later,I will try to compile to firmware.Thanks your hard work.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants