[ 
https://issues.apache.org/jira/browse/NETBEANS-1610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886735#comment-16886735
 ] 

Laszlo Kishalmi commented on NETBEANS-1610:
-------------------------------------------

!image-2019-07-16-23-45-56-663.png!

These are the heavy ones, both are native calls. Unfortunately the snapshot 
does not tell the number of calls on these methods.

The first one is most probably the file watcher, see: NETBEANS-2785 maybe you 
can find some improvement there.

The second one makes me curious. We may flood the event queue with the same 
events. However tried to reproduce it with Ubuntu. I had no luck.

> Constant background CPU usage
> -----------------------------
>
>                 Key: NETBEANS-1610
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1610
>             Project: NetBeans
>          Issue Type: Bug
>    Affects Versions: 8.2, 9.0, 10.0
>            Reporter: Kevin T
>            Priority: Major
>             Fix For: 9.0, Next
>
>         Attachments: constant background cpu usage netbeans 9.0.txt, 
> image-2019-07-16-23-45-56-663.png, netbeans cpu issue.nps, netbeans cpu 
> issue.npss
>
>
> Product Version = Apache NetBeans IDE 9.0 (Build 
> incubator-netbeans-release-334-on-20180708)
> Operating System = Windows 10 version 10.0 running on amd64
> Java; VM; Vendor = 1.8.0_162
> Runtime = Java HotSpot(TM) 64-Bit Server VM 25.162-b12
> STEPS:
>  * Open project
>  * Minimize netbeans window or not have it in the foreground
> ACTUAL:
>  Background CPU usage is constantly at 16-18%, so that my laptop fan turns 
> on.  Does not cease unless I close netbeans or put it back in the foreground.
> EXPECTED:
>  No background CPU usage when minimized or not the active window
> I unchecked "Enable auto-scanning of sources" in 
> Options->Miscellaneous->Files, but the IDE appears to still be scanning and 
> constantly using CPU.
> This issue was also present in version 8.2.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

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

Reply via email to