You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Miroslav Šulc (Jira)" <ji...@apache.org> on 2021/07/22 18:09:00 UTC

[jira] [Created] (NETBEANS-5870) GitRefresh thread consumes 100% cpu after few mins of NetBeans usage

Miroslav Šulc created NETBEANS-5870:
---------------------------------------

             Summary: GitRefresh thread consumes 100% cpu after few mins of NetBeans usage
                 Key: NETBEANS-5870
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5870
             Project: NetBeans
          Issue Type: Bug
          Components: versioncontrol - Git
    Affects Versions: Next
         Environment: gentoo linux, NetBeans built from source from the master.

$ java -version
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment 11.0.11_p9-r1 (build 11.0.11+9)
OpenJDK 64-Bit Server VM 11.0.11_p9-r1 (build 11.0.11+9, mixed mode, sharing)
            Reporter: Miroslav Šulc
         Attachments: image-2021-07-22-20-03-26-609.png, netbeans-gitrefresh-cpu-consumption.nps

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:

!image-2021-07-22-20-03-26-609.png!

i'm also attaching snapshot from VisualVM monitoring.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists