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.
Created attachment 110014 [details] Result of self-profiling the IDE Sometimes, NetBeans becomes very slow, performing long-lasting actions after every interaction with it (expanding nodes in the Projects view, switching between windows, etc.). According to the profiler snapshot (attached), this seems related to the diff sidebar. I had several 14 Git-versioned projects open. Not all of these projects have the same Git root folder - there are at least two Git root folders used. I also have approx 40-50 files opened, all of them coming from the Git-versioned projects. I also have one debugging session active, locally attached to a process using the shared memory connector. Technical data (brief, the rest is in the attached messages.log): Windows XP 32-bit, SP 3 NetBeans 7.0.1 JDK 1.6.0_26 Git module versions: org.netbeans.libs.git/1 [0.2.1 release70-au-50-on-20110802] org.netbeans.modules.git [0.2.12.42.1 release70-au-50-on-20110802] Sorry if this is a duplicate. Bugzilla seems to be unusable (not returning any results) both from my home and from my work place.
Created attachment 110015 [details] screenshot of the profiler with suspicious hot spots
Created attachment 110016 [details] IDE log
Marian, could you look into your Temp folder and let me know how many files/folders you have there? Diff creates a temp file in Temp\vcs-generated-tempfolder and after a while deletes the whole folder. So it may be that since you have tons of files in Temp then after vcs-generated-tempfolder is deleted, FS gets crazy. BTW, looking at the annotations for DiffSidebar the author of deleteTempFolder is mpetras ;-)
Let's create vcs temp files under a single vcs folder in /tmp (as we already do in versioning.utils)
fix: http://hg.netbeans.org/core-main/rev/d4142a0f80b3
*** Bug 202188 has been marked as a duplicate of this bug. ***