Hendi created NETBEANS-1185: ------------------------------- Summary: Application extremely slow under debugger, then freezes Key: NETBEANS-1185 URL: https://issues.apache.org/jira/browse/NETBEANS-1185 Project: NetBeans Issue Type: Bug Components: debugger - Java Affects Versions: 9.0 Environment: Windows 10 x64 (1709), JDK 10.0.2, Core i7 6700K, 16 GB RAM Reporter: Hendi
I have a rather large Java project with over 600 source files. It is a console application, no GUI code. At startup it loads a lot of data (among other things it memory-maps some files that are around ~500 MB). When left unconstrained, it uses around 1.1 GB of memory once it is done, but it also works fine with -Xmx768M. When not running under a debugger, it takes around 1 minute to complete loading. When launching it using NetBeans' debugger, however, it never completes. It will load for around 5 minutes (at which point it still isn't even half done..), then CPU usage for the process goes to 0% and netbeans64 sits at 12.5% (seems like a single thread running a spin loop or so). I use the current release version of NetBeans 9 running under JDK 10.0.2. When I was still using NetBeans 8.2 with JDK 8, it was fine. Debugging was only marginally slower than launching it without a debugger. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- 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