MemoryError: memory allocation failed, allocating 2048 bytes - LOPY - 1.2.0.b1
-
Hello @Shaun, I recall something like that in the past. I think I did the same. Did you update the pycom-esp-idf too? You should.
And updating th esp-idf might have required deleting it and cloning again. -
@robert-hh With the latest release 1.6.7 are you able to run on fronzen bytecode?
-
@Colateral: No, I cannot. And since the repository is not updated, I cannot make a suitable build. That's kind of sad. I asked Daniel, and he said (as always) that they will do so soon. But like you asked, enabling pre-compiled or frozen bytecode is just a small change in mpconfigport.h, however at the cost of additional firmware code size (~2k).
It could be an issue of testing and support. -
I too require "frozen" code for my large application and hope the git repository will be updated and that "frozen" functionality will be available sooner rather than later.
I am ecstatic that the threading and GC issues have been resolved and that I can continue with development at this point ;-)
-
@Shaun I can enumerate at least 5 active people from this forum that required the frozen functionality.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login