• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

MMM-BackgroundSlideshow

Scheduled Pinned Locked Moved Solved Troubleshooting
30 Posts 4 Posters 8.6k Views 4 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.
  • S Offline
    sdetweil
    last edited by Sep 7, 2019, 1:05 PM

    @CyruS1337 said in MMM-BackgroundSlideshow:

    | [3214:0907/102404.493830:FATAL:memory.cc(22)] Out of memory. size=96002048

    make the swap space bigger

    https://wpitchoune.net/tricks/raspberry_pi3_increase_swap_size.html

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    C 1 Reply Last reply Sep 7, 2019, 1:16 PM Reply Quote 0
    • C Offline
      CyruS1337 Project Sponsor @sdetweil
      last edited by Sep 7, 2019, 1:16 PM

      @sdetweil Ok, I did. I’ll watch that. Can you explain in one sentence what I just did here or where the mistake was?

      S 1 Reply Last reply Sep 7, 2019, 1:23 PM Reply Quote 0
      • S Offline
        sdetweil @CyruS1337
        last edited by sdetweil Sep 7, 2019, 1:23 PM Sep 7, 2019, 1:23 PM

        @CyruS1337 by default, the raspberry pi OS uses physical memory… if it runs out, it will try to swap out things not being used to make room for current work. but… the swap space is very small, only 100 meg…
        so the swap out fails, and the current process is killed

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • C Offline
          CyruS1337 Project Sponsor
          last edited by Sep 7, 2019, 1:25 PM

          Ok, thanks for the explanation :) I can understand that reasonably. You are a genius

          S 1 Reply Last reply Sep 7, 2019, 1:35 PM Reply Quote 0
          • S Offline
            sdetweil @CyruS1337
            last edited by Sep 7, 2019, 1:35 PM

            @CyruS1337 no… it happened to me!

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 1
            • C Offline
              CyruS1337 Project Sponsor
              last edited by Sep 7, 2019, 2:39 PM

              Now I thought it was solved, but after about 1 hour the screen was black again. I had to stop the MagicMirror with pm2 stop 0 and then restart it with pm2 start 0.

              I also changed the size from 100 to 1024.

              What else can it be?

              sudo dphys-swapfile swapoff
              sudo nano /etc/dphys-swapfile / (changed size 1024)
              sudo dphys-swapfile swapon
              
              
              S 1 Reply Last reply Sep 7, 2019, 2:41 PM Reply Quote 0
              • S Offline
                sdetweil @CyruS1337
                last edited by Sep 7, 2019, 2:41 PM

                @CyruS1337 and rebooted after changing swap file

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                C 1 Reply Last reply Sep 7, 2019, 2:42 PM Reply Quote 0
                • C Offline
                  CyruS1337 Project Sponsor @sdetweil
                  last edited by Sep 7, 2019, 2:42 PM

                  @sdetweil said in MMM-BackgroundSlideshow:

                  and rebooted after changing swap file

                  I have now reboot the mirror …

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil
                    last edited by Sep 7, 2019, 3:05 PM

                    free -m
                    Command will show memory usage

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    C 1 Reply Last reply Sep 7, 2019, 3:46 PM Reply Quote 0
                    • C Offline
                      CyruS1337 Project Sponsor @sdetweil
                      last edited by CyruS1337 Sep 7, 2019, 4:26 PM Sep 7, 2019, 3:46 PM

                      @sdetweil said in MMM-BackgroundSlideshow:

                      free -m
                      Command will show memory usage

                      pi@raspberrypi_1:~ $ free -m
                                    total        used        free      shared  buff/cache   available
                      Mem:            925         218         404           1         302         657
                      Swap:          1023         111         912
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        8/30
                        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