Community
    • Login

    Notepad++ VERY slow to open

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    15 Posts 4 Posters 8.6k 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 @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