Community
    • Login

    Notepad++ using a lof of CPU

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    33 Posts 18 Posters 8.0k Views
    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.
    • PeterJonesP
      PeterJones @Fabio Furlan de Carvalho
      last edited by PeterJones

      @Fabio-Furlan-de-Carvalho said in Notepad++ using a lof of CPU:

      I have the same problem, version 8.1.2 installed today 08/13/2021

      I am sorry you are experiencing difficulty.

      Could you please follow the advice already given to the previous user and answer any questions already given to the previous user. Without that, there isn’t anything we can do to help you.

      1 Reply Last reply Reply Quote 1
      • blacksncB
        blacksnc
        last edited by

        Same problem here. Even with no files opened, the Notepad++ is using 20-25% of my CPU. It’s not normal.

        • Tried to disable all plugins but I had no success in reducing the CPU usage.
        • Installed 7.9.5 version (x64). Same results.
        • Run as Admin. Unlucky.

        Debug info:

        Notepad++ v8.1.3   (64-bit)
        Build time : Aug 10 2021 - 00:29:32
        Path : C:\Program Files\Notepad++\notepad++.exe
        Command Line : 
        Admin mode : OFF
        Local Conf mode : OFF
        Cloud Config : OFF
        OS Name : Windows 10 Home (64-bit) 
        OS Version : 2004
        OS Build : 19041.746
        Current ANSI codepage : 1252
        Plugins : mimeTools.dll NppConverter.dll NppExport.dll 
        
        

        Any suggestions?

        blacksncB 1 Reply Last reply Reply Quote 0
        • blacksncB
          blacksnc @blacksnc
          last edited by

          @blacksnc Tryied something new and it managed to ~solve~ the high CPU usage. The solution? I simply installed the X86 version and the usage stayed around 0-2%.

          Seems to me that exists a bug in the x64 version of notepad++ that is causing this issue.

          For me the x86 version is fine, since I mainly use it to type some notes or read some files. But I don’t know if this version is OK for other users.

          Alex LinsA 1 Reply Last reply Reply Quote 0
          • Emerson Carvalho de SouzaE
            Emerson Carvalho de Souza
            last edited by

            Hello all,

            For me both versions x86 and x64 have about 25-30% of CPU, without any plugin (I removed all) and with older versions too. Any idea?

            42fea2b3-64cc-46d9-a04e-2c25a50407e6-image.png

            PeterJonesP 1 Reply Last reply Reply Quote 0
            • PeterJonesP
              PeterJones @Emerson Carvalho de Souza
              last edited by

              @Emerson-Carvalho-de-Souza ,

              Any idea?

              Plenty. Most of which were enumerated above. You’ve only answered questions to two of the many queries posted above. Some that you haven’t answered:

              Share ?-menu Debug Info

              Look at the recent-file-history (either in main File menu or a submenu thereof), and make sure there aren’t any

              Look at your current session and see whether there are any network drives or mapped drives for the files that are open.

              Look for virus scanners or the like that might be interfering with Notepad++'s running.

              Try a portable edition of the same version and see if it behaves the same. Try a portable edition of a different (newer or older) version and see if it behaves the same.

              Is it only when large files are loaded, or any time? (If so, how large?)

              Is there a syntax highlighter lexer enabled (ie, is the Language menu selected None (Normal Text) or one of the others. If a different lexer is enabled, if you manually change it to None (Normal Text), does the CPU usage stay high, or does it drop to reasonable levels

              If you exit and/or reboot, does it stop using large CPU levels?

              1 Reply Last reply Reply Quote 1
              • Emerson Carvalho de SouzaE
                Emerson Carvalho de Souza
                last edited by

                Hi @PeterJones , I’m sorry.
                On my recent files I have only 1 path, and no files opened.

                Notepad++ v8.1.4 (64-bit)
                Build time : Aug 21 2021 - 13:04:59
                Path : C:\Program Files\Notepad++\notepad++.exe
                Command Line :
                Admin mode : OFF
                Local Conf mode : OFF
                Cloud Config : OFF
                OS Name : Windows 10 Pro (64-bit)
                OS Version : 2009
                OS Build : 19043.1237
                Current ANSI codepage : 1252
                Plugins : none

                PeterJonesP 1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @Emerson Carvalho de Souza
                  last edited by PeterJones

                  @Emerson-Carvalho-de-Souza said in Notepad++ using a lof of CPU:

                  On my recent files I have only 1 path

                  You don’t say whether that was a local path on your machine’s HDD/SDD, or whether it was a network path. Which is really the information I was going for. But you could try File > Empty Recent File History and see if the performance improves when you restart.

                  Or, as noted above, do the Settings > Preferences > Recent Files History and turn on the Don't check at launch time, which makes it so Notepad++ won’t try to see if files in the Recent Files History still exist or not.

                  and no files opened.

                  Okay

                  With the version you supplied, I have been using it since the day it came out with no unexpected high-CPU events. So it’s not just the version. It’s something specific about your setup, and unfortunately, as a fellow user, there’s nothing more that I can do to help you. I have already suggested everything I can think of. Don’t forget to try everything already suggested in this thread.

                  Good luck.

                  1 Reply Last reply Reply Quote 1
                  • lukas venuti coelhoL
                    lukas venuti coelho
                    last edited by lukas venuti coelho

                    Hi guys, how are you?

                    I had no problems wich the portable version of notepad++, I’m using it that way as it was impacting my machine resources.

                    I had the same problem installing the application, I tested several versions, it could be a BUG with Win10 too.

                    1 Reply Last reply Reply Quote 0
                    • Claudio NevesC
                      Claudio Neves
                      last edited by

                      Hello!

                      My Notepad++ version 8.1.5 (32-bit) was constantly using 20-30% of CPU, even without doing anything on it, and just small files opened.

                      I’ve uninstalled it, installed version 8.1.8 (64-bit), and the high CPU usage continued. Disabled all plugins renaming the plugins directory, and issue persisted.

                      b9f78d67-108c-4f9d-a01d-45e413d15e2d-image.png

                      Debug Info:
                      Notepad++ v8.1.8 (64-bit)
                      Build time : Oct 19 2021 - 17:02:51
                      Path : C:\Program Files\Notepad++\notepad++.exe
                      Command Line :
                      Admin mode : OFF
                      Local Conf mode : OFF
                      Cloud Config : OFF
                      OS Name : Windows 10 Pro (64-bit)
                      OS Version : 2009
                      OS Build : 19043.1288
                      Current ANSI codepage : 1252
                      Plugins : none

                      I have only around 8-10 files, all with less than 1MB. I really don’t have any idea of what could be causing this high CPU usage.

                      I’m available to make whatever tests that may help finding what’s causing this high CPU usage .

                      Thanks,
                      Claudio Neves

                      1 Reply Last reply Reply Quote 0
                      • artie-finkelsteinA
                        artie-finkelstein
                        last edited by

                        testing (ordered by increasing effort):

                        • install the portable version instead (in a separate location)
                        • install the portable x86 (32 bit) version instead (in a separate location)
                        • cold reboot the computer (power cycle) and exit as many other applications as possible before starting the portable Notepad++ version
                        • cold reboot the computer (power cycle) and run NO other applications before starting the portable Notepad++ version

                        Note: One or more of the above may not be possible in a corporate environment

                        FWIW: approximate commonalities-

                        • Windows 10
                        • 64 bit version of Notepad++
                        • Zoom (the application) has seemed problematic, but that may just be me suspecting the whiteboard function

                        Disclosure: I don’t use any of the above (Win 10, 64 bit Notepad++ or Zoom); I’m condensing observations in this and other threads

                        1 Reply Last reply Reply Quote 1
                        • ArkadiuszMichalskiA ArkadiuszMichalski referenced this topic on
                        • Andre ViolA
                          Andre Viol
                          last edited by

                          Same problem here.
                          Debug info:

                          Notepad++ v8.1.9.3 (64-bit)
                          Build time : Dec 6 2021 - 19:21:37
                          Path : C:\Program Files\Notepad++\notepad++.exe
                          Command Line :
                          Admin mode : OFF
                          Local Conf mode : OFF
                          Cloud Config : OFF
                          OS Name : Windows 10 Pro (64-bit)
                          OS Version : 2009
                          OS Build : 19044.1415
                          Current ANSI codepage : 1252
                          Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppFTP.dll

                          No recent history.
                          Even with no plug-ins, same problem.
                          Same situation as mvlaza described: if I open a menu, CPU usage becomes normal (very low)
                          CPU usage around 30%
                          Zenburn theme but with default theme same problem

                          1 Reply Last reply Reply Quote 0
                          • Eduardo SchusterE
                            Eduardo Schuster
                            last edited by

                            Same Problem,
                            No Docs open, no history check, CPU always in 25% or more.

                            Notepad++ v8.1.9.3 (64-bit)
                            Build time : Dec 6 2021 - 19:21:37
                            Path : C:\Program Files\Notepad++\notepad++.exe
                            Command Line :
                            Admin mode : ON
                            Local Conf mode : OFF
                            Cloud Config : OFF
                            OS Name : Windows 10 Pro (64-bit)
                            OS Version : 2009
                            OS Build : 19042.1415
                            Current ANSI codepage : 1252
                            Plugins : DSpellCheck.dll mimeTools.dll NppConverter.dll NppExport.dll

                            EkopalypseE 1 Reply Last reply Reply Quote 0
                            • EkopalypseE
                              Ekopalypse @Eduardo Schuster
                              last edited by

                              @eduardo-schuster

                              DSpellCheck.dll is not a standard plugin, could it be that this is
                              an artefact from an old installation that is causing problems?

                              1 Reply Last reply Reply Quote 0
                              • Aguilar DiasA
                                Aguilar Dias
                                last edited by

                                Same problem:

                                Notepad++ v8.3.2 (64-bit)
                                Build time : Feb 27 2022 - 03:35:46
                                Path : C:\Program Files\Notepad++\notepad++.exe
                                Command Line :
                                Admin mode : OFF
                                Local Conf mode : OFF
                                Cloud Config : OFF
                                OS Name : Windows 10 Pro (64-bit)
                                OS Version : 2009
                                OS Build : 19044.1526
                                Current ANSI codepage : 1252
                                Plugins : mimeTools.dll NppConverter.dll NppExport.dll

                                I’d tried all other options: Portable, 32-bit
                                But after a few minutes using it, the cpu reaches more than 20% of CPU

                                1 Reply Last reply Reply Quote 0
                                • Alexandre LorenzattiA
                                  Alexandre Lorenzatti
                                  last edited by

                                  I’ve realized I have had the same problem since 2022/03.

                                  Curious thing or not, I have a AMD Ryzen 5 3500U processor. I’ve made some tests and realized that after firing up Notepad++, it’s always CPU 2 that goes to 100% consumption which makes turn on the fan (see picture below).

                                  Follows debug info:
                                  Notepad++ v8.3.3 (64-bit)
                                  Build time : Mar 13 2022 - 17:20:02
                                  Path : C:\Program Files\Notepad++\notepad++.exe
                                  Command Line :
                                  Admin mode : OFF
                                  Local Conf mode : OFF
                                  Cloud Config : OFF
                                  OS Name : Windows 10 Home Single Language (64-bit)
                                  OS Version : 2009
                                  OS Build : 19044.1586
                                  Current ANSI codepage : 1252
                                  Plugins : mimeTools.dll NppConverter.dll

                                  Taskmgr_IseNOcInJq.png

                                  1 Reply Last reply Reply Quote 0
                                  • Alessandro FazendaA
                                    Alessandro Fazenda
                                    last edited by

                                    Same problem here, Notepad++ keeps using CPU when not focused/minimized. No plugins, fresh install.
                                    I noticed most people here are using pt-br version of Windows. Can this be a languegue related issue?

                                    Notepad++ v8.4.4 (64-bit)
                                    Build time : Jul 15 2022 - 17:54:42
                                    Path : C:\Program Files\Notepad++\notepad++.exe
                                    Command Line :
                                    Admin mode : OFF
                                    Local Conf mode : OFF
                                    Cloud Config : OFF
                                    OS Name : Windows 10 Home Single Language (64-bit)
                                    OS Version : 21H1
                                    OS Build : 19043.1826
                                    Current ANSI codepage : 1252
                                    Plugins : none

                                    xomxX 1 Reply Last reply Reply Quote 0
                                    • xomxX
                                      xomx @Alessandro Fazenda
                                      last edited by

                                      @Alessandro-Fazenda

                                      I have already tried to identify the culprit, but forgot to link here the corresponding N++ GitHub issue.

                                      The good news is that for all the users who participated in the above issue, the problem solved miraculously itself at the end. But this also means that I could not finish my bug-chase.

                                      What I think for now - it is not caused by N++ but either by Windows itself or by an AV. It is probably caused by a specific preinstalled hook (one user got hold of a usable callstack…).

                                      1 Reply Last reply Reply Quote 1
                                      • Alex LinsA
                                        Alex Lins @blacksnc
                                        last edited by

                                        @blacksnc
                                        Work for me! Thanks!

                                        1 Reply Last reply Reply Quote 0
                                        • Andre ViolA
                                          Andre Viol
                                          last edited by

                                          The bug still persists for me. Using latest version.

                                          PeterJonesP 1 Reply Last reply Reply Quote 0
                                          • PeterJonesP
                                            PeterJones @Andre Viol
                                            last edited by

                                            @Andre-Viol ,

                                            @xomx linked to the official issue months ago. We in the Forum can do nothing to get bugs fixed – we can help users through the process of proving it’s a bug, and can sometimes find workarounds. But in the end, the official issues pages, like the one linked above, are where the official debugging occurs. If you want to remind the developers to continue working on the problem, there is the appropriate place.

                                            In the discussion in that issue report, you will find links to debug versions, and requests for logs from that debug version. If it hasn’t been fixed yet, then you need to follow the instructions in that discussion, and post the results in that discussion, and hopefully @xomx will be able to take the information you provide there and help incorporate it into a fix.

                                            Discussion Locked

                                            This issue can only be fixed if people who have this problem participate in the official issue report at https://github.com/notepad-plus-plus/notepad-plus-plus/issues/11556 . Posting in this Forum discussion thread will not propagate the information to all the right individuals. Any further discussion on this problem needs to occur in the official issue. As a result, this discussion is being locked, to encourage you to use the issue tracker to discuss the known issue.

                                            1 Reply Last reply Reply Quote 2
                                            • PeterJonesP PeterJones locked this topic on
                                            • xomxX xomx referenced this topic on
                                            • xomxX xomx referenced this topic on
                                            • First post
                                              Last post
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors