Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5870

GitRefresh thread consumes 100% cpu after few mins of NetBeans usage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • Next
    • None
    • versioncontrol - Git

    Description

      after a while of using NetBeans, GitRefresh thread starts to eat up the whole cpu. the trigger for this is saving a file in editor. in the beginning the issue does not occur, but only after few mins NetBeans becomes non-responsive and cpu load is 100%. killing NetBeans is the only option then. it's hard to code anything when you have only few mins before you have to kill it.

      here's screenshot from VisualVM showing the thread eating up the cpu:

      i'm also attaching snapshot from VisualVM monitoring.

      Attachments

        1. netbeans-gitrefresh-cpu-consumption.nps
          151 kB
          Miroslav Šulc
        2. image-2021-07-22-20-03-26-609.png
          284 kB
          Miroslav Šulc

        Activity

          People

            Unassigned Unassigned
            fordfrog Miroslav Šulc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: