Community
    • Login

    Notepad++ VERY slow to open

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    15 Posts 4 Posters 8.5k 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.
    • Jeff EspositoJ
      Jeff Esposito
      last edited by

      Since I have gotten my new computer Notepad++ takes 40-50 seconds to launch. I have removed all plugins and don’t check recent file history at launch is checked.
      There are no open unsaved tabs, even though that is how I want to use it and use it on my old pc and my work laptop. the install directory is also on my SSD C drive. I’ve tried fresh installs and just updated to the latest version this morning. Nothing seems to help.

      I do open files on my NAS, but I can navigate to the NAS in explorer, open a file, edit it, save it and close it all while still waiting for notepad++ to open.

      Any other ideas on what I can try?

      mylittleplaceholderM 1 Reply Last reply Reply Quote 0
      • mylittleplaceholderM
        mylittleplaceholder @Jeff Esposito
        last edited by

        @Jeff-Esposito Do you have any threat protection antimalware software running? I haven’t seen it specifically with Notepad++, but have seen apps sometimes take longer to start if it has to check signatures and fingerprints for all of the libraries and executables.

        Jeff EspositoJ 1 Reply Last reply Reply Quote 0
        • Jeff EspositoJ
          Jeff Esposito @mylittleplaceholder
          last edited by

          @mylittleplaceholder I do have bitdefender running, but I also had it running on my last machine. I have disabled all of bitdefender, following the Bitdefender page How do I temporarily disable Bitdefender in Windows? I still see the same response.

          EkopalypseE 1 Reply Last reply Reply Quote 0
          • EkopalypseE
            Ekopalypse @Jeff Esposito
            last edited by

            @Jeff-Esposito

            If you want to find out what is going on during startup, you can use procmon procmon to track what npp is doing.

            Jeff EspositoJ 1 Reply Last reply Reply Quote 3
            • Jeff EspositoJ
              Jeff Esposito @Ekopalypse
              last edited by

              @Ekopalypse I’m not sure what I’m looking for. trying to launch notepad++ creates seemingly millions of lines. I’m not sure what any of it means.

              most the lines take place in the first second, but then it gets to this:
              https://www.dropbox.com/s/yvn04phz7v6bdun/Screenshot 2022-08-04 100505.png?dl=0

              any ideas on what doing this and how to stop it?

              Thanks!

              Alan KilbornA EkopalypseE 2 Replies Last reply Reply Quote 0
              • Alan KilbornA
                Alan Kilborn @Jeff Esposito
                last edited by

                @Jeff-Esposito

                Why not just Ctrl+v paste your screenshot here?
                Not everyone is allowed to see your dropbox version of it.

                Jeff EspositoJ 1 Reply Last reply Reply Quote 1
                • EkopalypseE
                  Ekopalypse @Jeff Esposito
                  last edited by Ekopalypse

                  @Jeff-Esposito

                  At the first moment, of course, all messages are relevant, since we do not know where the problem is.
                  I would start by looking at the timestamps to see if there is already a delay.
                  If there are too many messages, just play with the filters
                  of the different views (the last 5 buttons in the toolbar).
                  For example, I would not expect registry accesses to cause the delay. Profiling is also unlikely.

                  Jeff EspositoJ 1 Reply Last reply Reply Quote 1
                  • Jeff EspositoJ
                    Jeff Esposito @Alan Kilborn
                    last edited by

                    @Alan-Kilborn a661eebf-6784-425b-a2f5-47591c25eee8-image.png

                    1 Reply Last reply Reply Quote 0
                    • Jeff EspositoJ
                      Jeff Esposito @Ekopalypse
                      last edited by

                      @Ekopalypse Thanks, I added the screen shot here. It looks like there are about 40 process polling that takes about a second each.

                      EkopalypseE 1 Reply Last reply Reply Quote 1
                      • EkopalypseE
                        Ekopalypse @Jeff Esposito
                        last edited by

                        @Jeff-Esposito

                        These are events which are collected every seconds to give you an idea what the current thread is doing in terms of cpu user and kernel time etc…
                        I assume these are not relevant in your case.
                        I would go like this.

                        • make sure procmon is not monitoring (ctrl+e stops/starts monitoring)
                        • empty view if it was monitoring (ctrl+x)
                        • define a filter -> Process Name is notepad++.exe (ctrl+l)
                        • activate “show filesystem activity” only

                        7ca34e70-055d-4b87-9a35-9c9492d6d48d-image.png

                        • start monitoring (ctrl+e)
                        • start notepad++
                        • stop monitoring, once notepad++ has been started.

                        Now I would go through the events and try to see if there is a noticeable gap in time that should point to the file/directory that is causing the delay.

                        Jeff EspositoJ 2 Replies Last reply Reply Quote 3
                        • Jeff EspositoJ
                          Jeff Esposito @Ekopalypse
                          last edited by

                          @Ekopalypse I beleive that image is unfiltered. Nothing else is happening in those 40ish seconds. I’m not home right now, but will double check when I get home.

                          1 Reply Last reply Reply Quote 0
                          • Jeff EspositoJ
                            Jeff Esposito @Ekopalypse
                            last edited by

                            @Ekopalypse yes, I’m watching the process profiling appear one after the other every second. everything is selected nothing else is happening, just Process profiling. What is it and why is it doing this?

                            Thanks for the help!

                            Jeff EspositoJ EkopalypseE 2 Replies Last reply Reply Quote 0
                            • Jeff EspositoJ
                              Jeff Esposito @Jeff Esposito
                              last edited by

                              everything else that happens, is happening in less than a second before that section and less than another second after that.

                              12:40:02.82 - 12:40:02.86 - Everything before
                              12:40:03.74 - 12:40:50.75 - Process Profiling section
                              12:40:50.99 - 12:41:51.43 - Everything else.

                              After it opens it starts doing the process profiling again. it does more of them.

                              Jeff EspositoJ 1 Reply Last reply Reply Quote 0
                              • Jeff EspositoJ
                                Jeff Esposito @Jeff Esposito
                                last edited by

                                @Jeff-Esposito ok, is see it now. the process profiling happens every second. it only looks weird here because nothing else is happening because of a hung process.

                                It is trying to access a path that doesn’t exist, my old NAS. it looks like there is a file named choice in AppData/roaming/cloud that has a single line with the bad path. I just pointed it to the path on my new nas and everything is working fine now.

                                Thanks for all the help!

                                1 Reply Last reply Reply Quote 2
                                • EkopalypseE
                                  Ekopalypse @Jeff Esposito
                                  last edited by

                                  @Jeff-Esposito said in Notepad++ VERY slow to open:

                                  What is it and why is it doing this?

                                  Glad to hear you figured it out, and sorry for the late reply, but I try to stay away from the computer on weekends.

                                  Windows provides the ability to collect statistics about running processes, and that is what procmon uses. I don’t think profiling information is particularly useful in most cases. The only scenario I can think of is if you are developing a driver that is loaded by the kernel, then you can get the information if it is working fast enough or leaking memory by comparing the collected values.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post
                                  The Community of users of the Notepad++ text editor.
                                  Powered by NodeBB | Contributors