MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    RPI3 running out of memory

    Scheduled Pinned Locked Moved General Discussion
    18 Posts 9 Posters 3.5k Views 8 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.
    • E Offline
      ember1205 @bhepler
      last edited by

      @bhepler

      I think you’re missing the point.

      If you have two modules, X and Y, and you disable one and the problem persists? What’s your diagnosis?

      How long do you allow the system to run with one module disabled and no fault before you are able to actually, definitively, able to declare that the problem is the sole result of that module?

      Even if you can declare the issue gone, how do you know that it wasn’t an issue related to the combination of modules?

      Without explicit logging and debug information to actually see a stack trace of the fault, there is no way to declare “anything” by disabling a module.

      lavolp3L 1 Reply Last reply Reply Quote 0
      • lavolp3L Offline
        lavolp3 Module Developer @ember1205
        last edited by sdetweil

        @ember1205 taking a step back from modules, are you sure MM is the problem?

        Have you had it run “idle” so with desktop open only for some time?
        Is there a way to monitor ram usage and to monitor which app eventually fills the memory?

        Which version of electron do you use?
        Which Raspberry Pi? I assume 3b?
        Which Raspbian version?

        uname -a
        

        node version?

        node -v
        

        npm version?

        npm -v
        

        Have you tried running in serveronly and keeping it open on another laptop? If that works, I would assume the modules themselves are not the problem…

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @lavolp3
          last edited by

          @lavolp3 he’s been fighting this for some time now… we’ve both experienced the same problems…
          but mine not recently…

          I run the same modules and also another one of mine that does additional images, and my systems run on and on… without problems… Pi4 (buster) , jetson Nano(ubuntu) , Pi 3(stretch) , odroid (ubuntu).

          we have increased swap space
          turned on and off disable cache in electron
          he has tried current 3.1.13, and 6.0.12 (as I recall)

          I am running electron 3.1.13 on all

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            johntech @Vizulize
            last edited by

            @Vizulize

            What size SD card do you have?

            Have you ran

            sudo raspi-config
            

            selected the expand memory the second screen?

            I had that problem when first starting MM. No problems any more with 32 GB of space.

            1 Reply Last reply Reply Quote 0
            • V Offline
              Vizulize Module Developer
              last edited by

              @johntech Huh? This is referring to RAM memory, not hard drive space. I was writing to explain how you can extend the swap by using filesystem space to prevent the system crashing from running out of RAM.

              Sorry if there was any confusion - I actually manage a Raspberry Pi operating system, so am very familiar with the tools and techniques available.

              J 1 Reply Last reply Reply Quote 1
              • J Offline
                johntech @Vizulize
                last edited by

                @Vizulize Sorry noob here just learning!

                V 1 Reply Last reply Reply Quote 0
                • V Offline
                  Vizulize Module Developer @johntech
                  last edited by

                  @johntech no worries! “Memory” is often confused in this context. Hope you learned something 😁

                  1 Reply Last reply Reply Quote 0
                  • R Offline
                    reweleini
                    last edited by reweleini

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • 1
                    • 2
                    • 2 / 2
                    • First post
                      Last post
                    Enjoying MagicMirror? Please consider a donation!
                    MagicMirror created by Michael Teeuw.
                    Forum managed by Sam, technical setup by Karsten.
                    This forum is using NodeBB as its core | Contributors
                    Contact | Privacy Policy