You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Shevek (JIRA)" <ji...@apache.org> on 2019/07/01 22:28:00 UTC

[jira] [Commented] (NETBEANS-2291) NetBeans is unusably slow

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

Shevek commented on NETBEANS-2291:
----------------------------------

WARNING [org.netbeans.core.startup.ModuleList]: Error encountered while reading org.netbeans.modules.masterfs.linux
java.io.IOException: Autoload modules/org-netbeans-modules-masterfs-linux.jar cannot specify enablement
        at org.netbeans.core.startup.ModuleList.sanityCheckStatus(ModuleList.java:442)
        at org.netbeans.core.startup.ModuleList.readStatus(ModuleList.java:536)
        at org.netbeans.core.startup.ModuleList.access$2500(ModuleList.java:93)
[catch] at org.netbeans.core.startup.ModuleList$ReadInitial.run(ModuleList.java:1590)
        at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:102)
        at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:494)
        at org.netbeans.core.startup.ModuleList.readInitial(ModuleList.java:146)
        at org.netbeans.core.startup.ModuleSystem.readList(ModuleSystem.java:284)
        at org.netbeans.core.startup.Main.getModuleSystem(Main.java:155)
        at org.netbeans.core.startup.Main.getModuleSystem(Main.java:125)
        at org.netbeans.core.startup.Main.start(Main.java:282)
        at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98)
        at java.lang.Thread.run(Thread.java:748)


> NetBeans is unusably slow
> -------------------------
>
>                 Key: NETBEANS-2291
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2291
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>    Affects Versions: 8.2, 10.0, 11.0
>         Environment: Ubuntu 18.10
> Linux 4.18.0
> 12 core Xeon E-2176M with 64Gb RAM
> -Xmx2536m (2.5Gb for NB, of which it uses about 1.7G)
> NetBeans 10vc2, 10vc5, 8.2
> JDK 11.0.1
> JDK 1.8
> G1GC, CMS GC, Serial GC
>            Reporter: Shevek
>            Assignee: Laszlo Kishalmi
>            Priority: Critical
>              Labels: performance, usability
>         Attachments: image-2019-06-12-15-33-06-715.png, image-2019-06-13-17-35-18-309.png, nb-11-slow-hotspots.png, netbeans-10vc5-jdk8-hang-gototype.txt.tdump, netbeans-10vc5-jdk8-hang-progressutils.txt.tdump, netbeans-10vc5-jdk8-hang.txt.tdump, netbeans-slow-00.npss, netbeans-slow-01.npss, netbeans-startup-slow.npss, open-file-slow-01.txt.tdump, open-file-slow-02.txt.tdump, open-file-slow-03.txt.tdump, org-netbeans-modules-masterfs-linux.xml, restart-netbeans-and-open-file-01.npss, slow-stack-00.txt
>
>
> I used to use NetBeans 8 on JDK8, it was tolerable, but slow.
> Now I have a new laptop, I've tried nb8, nb10 on jdk8, jdk11, with g1gc, cmsgc, other gc. They are all UNUSABLY slow. By which I mean, it takes over a minute just to open a file.
> Mostly this is because things are waiting for things waiting for very inefficiently implemnted file I/O, editor parsing, or things like that. I've watched a 12-core Xeon chip spend over 4 hours just attempting to handle the Active Reference Queue Daemon thread.
> The slowdown is somewhat incremental - I can escape it as long as I'm happy to restart NetBeans every hour or so (which I'm not happy to do).
> Attached a stack dump to get you started, this took over a minute to open a 284-line Java file from idle.
> Please feel free to ask all the obvious questions, although I'm fairly sure all the obvious things have been done. Mostly, I've got GC down to a negligible amount.
> If there's one or more features of NetBeans I can disable to get acceptable behaviour while still being able to realistically edit Java code, please tell me and I will disable them because I am at the end of my rope after using (and developing for) NetBeans for nearly 10 years. If I can get IntelliJ to load a Java/Gradle project neatly before this gets fixed, I'm gone.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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