Menu

BUG/Feature? Absurd number of file handles

2007-11-26
2012-11-13
  • Nobody/Anonymous

    Using Notepad++ 4.5 I noticed in Task Manager Notepad++ has 18000 file handles!!! I think this number is too big, since no other program comes even close, the second is lsass.exe with 324. I'm using Notepad with Explorer, FunctionList and Spellcheck plugins.

     
    • Sune Marcher

      Sune Marcher - 2007-11-27

      18.000 handles? Christ, sounds like taskmanager has a bug :)

      If it does indeed have 18k handles, though, my gut guess would be the explorer plugin leaking Find*File handles...

       
    • pshute

      pshute - 2007-11-26

      Mine has only 114.  Is it like that even after you close it and reopen it?

       
    • Don HO

      Don HO - 2007-11-26

      18000 file handles? How do you get this number?

      Don

       
    • Harry

      Harry - 2007-11-26

      In the taskmanager under view you can choose 'select columns', you can pick it from there (along with GDI handles, notepad snoops quite a few from those too, although not excessive or anything ;))
      Some plugin has been leaking handles apparantly, or notepad although I doubt that. Try using one plugin at a time with heavy usage, see if it results in anything
      (and it doesnt have to be a file handle per se, any HANDLE will do afaik, like threads)

       
      • Don HO

        Don HO - 2007-11-27

        Very interesting info...
        Without any plugins loaded (Notepad++ -noplugin), Notepad++ has ONLY 78 handles on my machine...
        I'm impressed ! :)

        Don