Probably best to switch to 11.0 or 11.1 beta-1 and see if the problem can
be reproduced there, change to a later JDK to see the difference as well.

Gj


On Tue, 25 Jun 2019 at 18:44, František Kučera <konfere...@frantovo.cz>
wrote:

> Hello,
>
> last few days I experience sudden slownes of Netbeans IDE when I
> navigate through Java source code or invoke the pop-up menu with
> code-completion and JavaDoc.
>
> This is my configuration:
>
> Product Version: NetBeans IDE 8.2 (Build 201610071157)
> Java: 1.8.0_212; OpenJDK 64-Bit Server VM 25.212-b03
> Runtime: OpenJDK Runtime Environment
> 1.8.0_212-8u212-b03-0ubuntu1.18.04.1-b03
> System: Linux version 4.15.0-52-generic running on amd64; UTF-8; cs_CZ (nb)
>
> I have not upgraded Netbeans recently and the last JDK upgrade was
> 2019-05-14 according to the APT log (and I have probably restarted after
> that upgrade and Netbeans was not slow after the upgrade IIRC). I am not
> aware of any relevant changes on my computer. And it worked well before.
>
> The project is small and Netbeans are slow even if I navigate through
> e.g. java.lang.System. Sometimes it takes even 10 seconds until
> something happens (navigate to the method declaration or show a pop-up
> wit JavaDoc). Formerly I had problems with slow and unstable C/C++
> projects (slow or missing code completion or false-positive source code
> errors) but now even Java projects are extremely slow.
>
> I found <http://wiki.netbeans.org/FaqSlowNetBeans> but I did not see any
> solution of my problem there. I have also deleted ~/.cache/netbeans/8.2/
> and restarted the IDE, but it did not help.
>
> During waiting for the pop-up or navigation, Netbeans eats cca 100-250 %
> of my CPU (according to htop).
>
> I used the profiling function in the IDE and find out that it spent e.g.
> 6 seconds in com.sun.tools.javac.comp.Attr$ResultInfo.attr (). See
> attached screenshot. Does the slowness come from JDK instead of
> Netbeans? How can I debug it more? Maybe the reinstall or upgrade would
> help but I would rather find the cause of such sudden change of speed of
> my favorite IDE.
>
> Thanks,
>
> Franta
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-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