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.

    Electron taking too much memory and processing

    Scheduled Pinned Locked Moved Troubleshooting
    7 Posts 2 Posters 3.8k 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.
    • Y Offline
      yours.mukul
      last edited by

      Below is an image showing processing and memory used by my magic mirror

      Please help me out…!
      ![0_1513329865494_IMG_20171215_132840 (1).jpg](Uploading 100%)

      Command CPU RSS
      electron 33% 109.2MB
      electron 24% 142.6MB
      python 21% 256.2MB
      electron 8% 140.6MB

      Mykle1M 1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @yours.mukul
        last edited by

        @yours.mukul

        https://forum.magicmirror.builders/topic/4684/electron-cpu-usage

        Create a working config
        How to add modules

        Y 1 Reply Last reply Reply Quote 0
        • Y Offline
          yours.mukul @Mykle1
          last edited by

          @Mykle1 I have electron version 1.6.10, can you please tell me how to make it 1.4.15?
          From the provided link I get to know that MMM-2.1.0 and Electron 1.4. 15 is the best combination.
          I’m sorry if my question appears to be very basic, also I cannot do a fresh clean new installation because my Raspberry pi has some of my other projects going on.
          Thank you …

          Mykle1M 1 Reply Last reply Reply Quote 0
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer @yours.mukul
            last edited by

            @yours.mukul said in Electron taking too much memory and processing:

            can you please tell me how to make it 1.4.15?

            npm install electron@1.4.15

            I don’t know if installing electron 1.4.15 without MM 2.1.0 will help but I hope so. Please let me know what your results are and good luck.

            Create a working config
            How to add modules

            Y 1 Reply Last reply Reply Quote 0
            • Y Offline
              yours.mukul @Mykle1
              last edited by yours.mukul

              @Mykle1 I already have MM-2.1.0 installed. I just have the electron 1.6.1 So I believe downgrading electron will show some result.

              If I’m not wrong then, the conclusion from the link you posted, was MM-2.1.0 with electron 1.4.5??

              Also if i use npm install @1.4.5,. What will happen with the already installed electron 1.6.1, won’t it clash ???

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @yours.mukul
                last edited by

                @yours.mukul

                You are correct. The determination was that MM v2.1.0 and electron v1.4.15 combination gave the best performance.

                npm install electron@1.4.15 should overwrite the existing electron. If not, you can manually uninstall it before installing 1.4.15

                Create a working config
                How to add modules

                Y 1 Reply Last reply Reply Quote 0
                • Y Offline
                  yours.mukul @Mykle1
                  last edited by

                  @Mykle1 should I use this command in ‘MagicMirror/node_modules/’ directory or somewhere else.
                  Also how to uninstall electron manually?
                  I’m sorry if my question is too basic.

                  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 / 1
                  • 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