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

Electron taking too much memory and processing

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 3.0k 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 Dec 15, 2017, 9:28 AM

    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

    M 1 Reply Last reply Dec 15, 2017, 12:06 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @yours.mukul
      last edited by Dec 15, 2017, 12:06 PM

      @yours.mukul

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

      Create a working config
      How to add modules

      Y 1 Reply Last reply Dec 15, 2017, 1:28 PM Reply Quote 0
      • Y Offline
        yours.mukul @Mykle1
        last edited by Dec 15, 2017, 1:28 PM

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

        M 1 Reply Last reply Dec 15, 2017, 8:44 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @yours.mukul
          last edited by Dec 15, 2017, 8:44 PM

          @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 Dec 16, 2017, 2:19 AM Reply Quote 0
          • Y Offline
            yours.mukul @Mykle1
            last edited by yours.mukul Dec 16, 2017, 2:22 AM Dec 16, 2017, 2:19 AM

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

            M 1 Reply Last reply Dec 16, 2017, 3:21 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @yours.mukul
              last edited by Dec 16, 2017, 3:21 AM

              @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 Dec 16, 2017, 3:27 AM Reply Quote 0
              • Y Offline
                yours.mukul @Mykle1
                last edited by Dec 16, 2017, 3:27 AM

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