MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    Electron taking too much memory and processing

    Troubleshooting
    2
    7
    2317
    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
      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

      Mykle1 1 Reply Last reply Reply Quote 0
      • Mykle1
        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
          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 …

          Mykle1 1 Reply Last reply Reply Quote 0
          • Mykle1
            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
              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 ???

              Mykle1 1 Reply Last reply Reply Quote 0
              • Mykle1
                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
                  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
                  • 1 / 1
                  • First post
                    Last post
                  Enjoying MagicMirror? Please consider a donation!
                  MagicMirror created by Michael Teeuw.
                  Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                  This forum is using NodeBB as its core | Contributors
                  Contact | Privacy Policy