Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    MemoryError: memory allocation failed, allocating 2048 bytes - LOPY - 1.2.0.b1

    Scheduled Pinned Locked Moved LoPy
    25 Posts 7 Posters 13.3k Views 7 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robert-hhR Offline
      robert-hh
      last edited by robert-hh

      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.

      1 Reply Last reply Reply Quote 0
      • C Offline
        Colateral @robert-hh
        last edited by

        @robert-hh With the latest release 1.6.7 are you able to run on fronzen bytecode?

        1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh
          last edited by

          @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.

          S 1 Reply Last reply Reply Quote 1
          • S Offline
            Shaun @robert-hh
            last edited by

            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 ;-)

            C 1 Reply Last reply Reply Quote 0
            • C Offline
              Colateral @Shaun
              last edited by

              @Shaun I can enumerate at least 5 active people from this forum that required the frozen functionality.

              1 Reply Last reply Reply Quote 0

              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
              • 1
              • 2
              • 2 / 2
              • First post
                Last post

              Pycom on Twitter

              Pycom