Notepad++ VERY slow to open
-
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. -
-
@Ekopalypse Thanks, I added the screen shot here. It looks like there are about 40 process polling that takes about a second each.
-
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

- 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.
-
@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.
-
@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!
-
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-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!
-
@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.
-
Hello!
I’m having a similar problem with NPP being slow to open, and I believe it’s related to the fact that I have several “draft” (unsaved) files saved, since I have the options enabled: backup and remember last session.
This has already been reported in another post:https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14000
In my case, I have an SSD and it takes about 20 seconds to load about 200 files. So it spends about 0.1 seconds per file.
I did some tests using Process Monitor, as shown in the image below.

In this case, it seems that NPP keeps trying to create files in the “Program Files” folder, but it gives a “NAME NOT FOUND” error.
After that, it goes to the “AppData/Roaming…” folder where the backup files are located.In short, based on this result, does anyone have any idea how to try to solve this delay, perhaps caused by failures or repeated attempts to read/write the backup files?
