Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. What is the handle count for a process in windows?

What is the handle count for a process in windows?

Scheduled Pinned Locked Moved C / C++ / MFC
question
9 Posts 5 Posters 0 Views 1 Watching
  • 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.
  • G Offline
    G Offline
    Gupta Suraj
    wrote on last edited by
    #1

    Hi All, Is anyone aware of the handle count for a process in windows? Please let me know if it require further clarification. Suraj

    Suraj Gupta

    R D H 3 Replies Last reply
    0
    • G Gupta Suraj

      Hi All, Is anyone aware of the handle count for a process in windows? Please let me know if it require further clarification. Suraj

      Suraj Gupta

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      HandleCount property of a process refers to the number of operating system handles opened by that process. I suggest you ask such questions pertaining to .NET stuff in the .NET Framework Forum.


      Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

      G M 2 Replies Last reply
      0
      • R Rajesh R Subramanian

        HandleCount property of a process refers to the number of operating system handles opened by that process. I suggest you ask such questions pertaining to .NET stuff in the .NET Framework Forum.


        Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

        G Offline
        G Offline
        Gupta Suraj
        wrote on last edited by
        #3

        Is there any limit to that number...

        Suraj Gupta

        R 1 Reply Last reply
        0
        • G Gupta Suraj

          Is there any limit to that number...

          Suraj Gupta

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #4

          Have a look at this link[^]. And please ask .NET questions in the .NET Framework Forum[^]


          Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

          1 Reply Last reply
          0
          • R Rajesh R Subramanian

            HandleCount property of a process refers to the number of operating system handles opened by that process. I suggest you ask such questions pertaining to .NET stuff in the .NET Framework Forum.


            Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

            M Offline
            M Offline
            Maximilien
            wrote on last edited by
            #5

            Why is that a .net specific question ? The original poster did not mentionned the HandleCount property at all in his post. :confused:


            Maximilien Lincourt Your Head A Splode - Strong Bad

            R 1 Reply Last reply
            0
            • G Gupta Suraj

              Hi All, Is anyone aware of the handle count for a process in windows? Please let me know if it require further clarification. Suraj

              Suraj Gupta

              D Offline
              D Offline
              David Leyva
              wrote on last edited by
              #6

              Hi The Handle count for a process is the total of handles used: Thread, opened files, events. I think u know that the function to get HC is GetProcessHandleCount. U have to be carefully if your app have HC that never decreases Regards David Leyva

              1 Reply Last reply
              0
              • M Maximilien

                Why is that a .net specific question ? The original poster did not mentionned the HandleCount property at all in his post. :confused:


                Maximilien Lincourt Your Head A Splode - Strong Bad

                R Offline
                R Offline
                Rajesh R Subramanian
                wrote on last edited by
                #7

                That person has edited his post! He had asked what HandleCount was. Hope you understand it.


                Nobody can give you wiser advice than yourself. - Cicero ப்ரம்மா

                1 Reply Last reply
                0
                • G Gupta Suraj

                  Hi All, Is anyone aware of the handle count for a process in windows? Please let me know if it require further clarification. Suraj

                  Suraj Gupta

                  H Offline
                  H Offline
                  Hamid Taebi
                  wrote on last edited by
                  #8

                  And also except handle count we have thread count :)


                  WhiteSky


                  G 1 Reply Last reply
                  0
                  • H Hamid Taebi

                    And also except handle count we have thread count :)


                    WhiteSky


                    G Offline
                    G Offline
                    Gupta Suraj
                    wrote on last edited by
                    #9

                    Thanks alot for your replies... Handle count for a process is limited to 10000 and it can be increased to 18000 (max limit). But I can see different process on my machine (like explorer.exe) having handle count greater than 18000. How that process is running properly even when handle count has increase dramactically?

                    Suraj Gupta

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • World
                    • Users
                    • Groups