This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a large c++ project I tried to edit with Netbeans. I had to set the heap to 1Gb. Whenever I start netbeans now it takes 5 to 15 minutes to open the IDE. The project has 41,013 source/header files. Should I simply give up trying to load large projects or should this work?
Till this moment the largest project we tested was Fedora. It has 20K+ files and 2M+ lines of code. It worked ok, although initial parsing took around 7 min on our test machine. Note that parsing does not block user activities. However it is not clear from your description what happened to your NB. Is it literally coming up (showing logo screen) for 5-15 minutes? Is it an opensource project? Can we take a look? How did you configure your project? We definitely consider anything that blocks large project development in CND to be a high priority bug. So please do not give up, but provide us with more details! Thank you, Leonid.
Could you, please, provide thread dumps during opening. We need to see what is done in threads. Btw, your problem may be related with just fixed: http://www.netbeans.org/issues/show_bug.cgi?id=146155
When I open netbeans the splash screen appears but it stops repainting and goes white.
Created attachment 69280 [details] Stack 1 of opening project (not at startup)
Created attachment 69281 [details] Stack 2 of opening project (not at startup)
Created attachment 69282 [details] Stack 3 of opening project (not at startup)
I'm not sure that the performance issue always occurs at the same place though. I opened netbeans a second time and now the UI fully appears but no projects appear in the project tab. Then it appears but as soon as I expand the project it pauses for ages. Attached are two extra stack traces of where the hangs occur.
Created attachment 69283 [details] stack trace of pause after netbeans appears but no projects are visible
Created attachment 69284 [details] once the projects appeared I then expanded the project with 41k files. I then hung for minutes doing this
Created attachment 69285 [details] 1 other stack I took while the expand project was processing
Could you provide thread dump on current development build? It seems a part of problem was fixed. See IZ#146477.
dev build (200809081401) This is very strange, some times netbeans opens very fast then I have to wait when I expand the project in the projects windows. Other times netbeans hangs with the splash screen shown. Attached is a new stacktrace from when netbeans hung on startup. FYI : I opened the whole project in Visual Studio 2005 and it opened it in 21 seconds.
Created attachment 69403 [details] dev build hang on startup.
Now I see the reason of blocked AWT thread. Thank you!
removed blocking AWT thread on startup http://hg.netbeans.org/main?cmd=changeset;node=6fec6735b1ec
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/6fec6735b1ec User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixing IZ#145899: Do not ever block EDT with hacks like Task.waitFinished()
after previous fix + fixes in system file system of netbeans core the only one problem remains. described in 146726 *** This issue has been marked as a duplicate of 146726 ***
the correct dup is http://www.netbeans.org/issues/show_bug.cgi?id=146696
*** This issue has been marked as a duplicate of 146696 ***