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.
Product Version = NetBeans IDE 7.3 Beta (Build 201210011125) Operating System = Windows 7 version 6.1 running on x86 Java; VM; Vendor = 1.6.0_20 Runtime = Java HotSpot(TM) Client VM 16.3-b01 The process "Checking for external changes becomes "suspended" immediately after loading the IDE. The "local synchronisation" process is still running 20 minutes after loading the IDE. There are 12 PHP projects in the IDE each with an average of 20 source files, each with about 200 lines of code. In 7.2 this all takes about 20 seconds.
Created attachment 125940 [details] IDE log
It took just over two hours before the local synch and external changes tasks completed. I closed the IDE down and re-opened it. The synch and external changes processes took the same time - just over two hours. Whilst it is doing this it's not happy to save documents - get a message warning that local copy is in progress. As I use the local copy to copy my source to the server this is a problem.
Could you please share the projects with us ? (even using private email address). Are your projects located on local HDD, or somewhere in the network ? ....Thanks in advance.
AFAIK no change in this area in PHP for NB 7.3 but I can be wrong. Please, create a performance snapshot [1] during the scanning (I guess 1 minute or so should be fine), attach it to this issue and reopen it. Also please answer the questions from the comment #3. Thanks a lot for your cooperation. [1] http://wiki.netbeans.org/FitnessViaPartnership
Created attachment 126682 [details] Netneabs IDE 7.3 beta scanning prohects at start up Profiler file requested by Tomas Mysik 26th October 2012
Could you please attach the same profiler snapshot for your NB 7.2 (where it takes much less time)? Please attach the IDE log for NB 7.2 as well. Also, are there any differences in the IDE or project setup? E.g. versioning system in NB 7.3 which is not available in NB 7.2 or similar. Thanks a lot for your cooperation.
Created attachment 126732 [details] Netbeans 7.2 IDE log Could not find where 7.2 keeps its' ide log so copied from output window and pasted into editor to save as text
Created attachment 126801 [details] Profile Netneabs 7.2 at startup Tomas: Here's the profile log for my Netbeans 7.2 at start up
Thanks a lot, we will have a look at it.
From the snapshot from NB 7.3: nearly the whole time is spent in the java.io.File.exists() method (32 second for file delete and another 32 seconds for file create). So, the culprit here is the slow filesystem. The weird thing is that it works for you with NB 7.2. So, just to be sure: - in NB 7.3, you simply opened the _same_ projects as in NB 7.2 - right? - these projects - are they on local or network discs? - could you please try to start NB 7.3 with a clean userdir [1] but please do NOT import your settings from NB 7.2. Then, please open your projects. Please, reopen this issue and answer my questions. Thanks a lot for your cooperation. [1] http://wiki.netbeans.org/FaqAlternateUserdir
BTW I just tried to simulate this issue with Mediawiki project (1927 files) - after reopening, the local synchronization took about 20 seconds (7 seconds for delete and 13 seconds for copy). Product Version: NetBeans IDE Dev (Build 20121031-ff9271ac9f05) Java: 1.6.0_35; Java HotSpot(TM) 64-Bit Server VM 20.10-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_35-b10 System: Linux version 3.6.3-030603-generic running on amd64; UTF-8; cs_CZ (nb)
One more idea - you could start NB with no opened project. Then, open your projects, one by one (wait for the end of the local synchronization) - does the local synchronization take long time for all your projects? Or does it take long only for some of them? Thanks.
To answer your questions: When I installed 7.3 it asked me if I wanted to import 7.2 projects and I said Yes. The projects are on a network share I'll remove 7.3 then re-install it but not import any projects, but add them one by one More later ! (In reply to comment #10) > From the snapshot from NB 7.3: > > nearly the whole time is spent in the java.io.File.exists() method (32 second > for file delete and another 32 seconds for file create). So, the culprit here > is the slow filesystem. The weird thing is that it works for you with NB 7.2. > So, just to be sure: > > - in NB 7.3, you simply opened the _same_ projects as in NB 7.2 - right? > - these projects - are they on local or network discs? > - could you please try to start NB 7.3 with a clean userdir [1] but please do > NOT import your settings from NB 7.2. Then, please open your projects. > > Please, reopen this issue and answer my questions. > > Thanks a lot for your cooperation. > [1] http://wiki.netbeans.org/FaqAlternateUserdir
Not sure whether you prefer top posting or bottom.... I prefer top, so that latest stuff is there I'll try this and let u know what happens It seems to take a long time for them all - about 2 and a half hours in total and CPU is up around 80% during this time so machine not much use KT (In reply to comment #12) > One more idea - you could start NB with no opened project. Then, open your > projects, one by one (wait for the end of the local synchronization) - does the > local synchronization take long time for all your projects? Or does it take > long only for some of them? > > Thanks.
OK - I figured it out and I've been wasting your time and mine. I started with a clean install of 7.3 and added projects one by one. The 6th one brought 7.3 to it's knees. But it was OK in 7.2. I had not worked on this project (it's an online shop selling midi files) for over two years so I went back to my notes and found that I had marked a folder - the one containing 2500 mp3 files at nearly 700Mb - to be ignored. Sure enough - there it was in 7.2 marked "ignore". When I did the same in 7.3 it's OK. So there it is - nothing wrong with your wonderful IDE - just my crappy memory. KT (In reply to comment #14) > Not sure whether you prefer top posting or bottom.... I prefer top, so that > latest stuff is there > > I'll try this and let u know what happens > > It seems to take a long time for them all - about 2 and a half hours in total > and CPU is up around 80% during this time so machine not much use > > KT > > (In reply to comment #12) > > One more idea - you could start NB with no opened project. Then, open your > > projects, one by one (wait for the end of the local synchronization) - does the > > local synchronization take long time for all your projects? Or does it take > > long only for some of them? > > > > Thanks.
Great to hear that it works for you now! (In reply to comment #13) > The projects are on a network share Please notice that such environment will _always_ be slower (even much slower) than local HDD. If you can avoid it, please do so. Thank you for your coopeartion.
(In reply to comment #15) > I had marked a folder - the one containing 2500 > mp3 files at nearly 700Mb - to be ignored. Sure enough - there it was in 7.2 > marked "ignore". When I did the same in 7.3 it's OK. One question for Tomáš remains: Why the ignored folder setting is not imported from 7.2?
(In reply to comment #17) > One question for Tomáš remains: Why the ignored folder setting is not imported > from 7.2? No idea - this info is part of project.properties so there should not be any problem. However reported as issue #221307. @reporter: Could you please attach project.properties file of the problematic project here? But first please verify that there is no private information in it. Thanks a lot.