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.
[ BUILD # : 200808280201 ] [ JDK VERSION : 1.6.0_04 ] The IDE will freeze for more than 30 seconds periodically. Usually right clicking on a project starts the freeze.
Created attachment 68554 [details] Thread dump during right click pause
I have attached a thread dump plus the last three warnings that occurred prior to the freeze. I know at least the last warning appeared when I right clicked my project.
dafreels, yo you are using PHP. Am I right ?
I am not using PHP. I have 14 projects, 7 java w/existing sources and 7 web application w/existing sources. I right clicked on the largest (~40,000 files) of my web projects when the IDE froze.
Jirko, Radku, could you please look at the thread dump? Seems to be related to FS. Thanks.
After the discussion with Radek I think that this could be problem of Hibernate support? Please evaluate and reassign if I'm wrong. Thanks.
None of my projects use hibernate. iBatis is used in 1 of my projects, but this problem occurs for all of them.
This issue is due to repeated queries of file MIMEType for project files. Optimizing the call...
According to the issue, the reporter is not using Hibernate at all. Isn't it possible to avoid this operation for non hibernate projects ?
re. "Isn't it possible to avoid this operation for non hibernate projects" - web project iterates over all frameworks to detect which ones are enabled in given project (ie. aWebFrameworkProvider.isInWebModule()). This should be done only in handful of places (eg. when opening project properties, etc.) but because of issue 145546 it happens frequently (whenever project's isActionEnabled is called). I suggest you try to optimize your code if you can because aWebFrameworkProvider.isInWebModule() should be quick but fixing issue 145546 should most probably resolve this issue.
*** Issue 145686 has been marked as a duplicate of this issue. ***
I believe the core of performance regression was fixed as issue 145546. Could you please retest and reopen this issue if it is still not satisfactory? Thanks. (first fixed in trunk Build #3641, Sep 1, 2008 6:28:08 AM) *** This issue has been marked as a duplicate of 145546 ***
The Hibernate module calls have also been optimized : http://hg.netbeans.org/main?cmd=changeset;node=451699140653
I have pulled build 20080901093718 (http://deadlock.netbeans.org/hudson/job/trunk/3642/) and verified that the performance is excellent.
*** Issue 144187 has been marked as a duplicate of this issue. ***