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.
Running the version below, every time I exit the ide, I get the small "closing native project" status bar for about 15-20 seconds. My machine is an i7 w/ 32 GB of memory and 6TB in raid 5. Product Version: NetBeans IDE Dev (Build 201402040001) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.12.6-200.fc19.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
It is expected behavior. Since 8.0 C/C++ informs user that closing (writing unsaved data) in progress. Please explain what is a problem?
This particular machine can write well over 100MB/sec, reliably. The performance appears to have a linear relationship to the number of projects open. I currently have 25 open when the IDE starts. Most of the projects are small (one directory, 5-20 files). For me: 1: start ide 2: wait for background scanning of projects to complete 3: stop ide 4: wait 15-20 seconds while java burns about 10-15% of cpu and rewrites 500-1100 files. I did three tests. I had 25 projects open that looked like this: $ touch junk < steps 1-4 above > $ find ~/.netbeans ~/.cache/netbeans . -type f -newer junk -print0 \ | xargs -0 ls -l > 12:30.files I've attached the output from these tests. If I rerun the tests with zero or one projects open, it closes quickly, but still finds it necessary to write ~270 files. So that is expected behavior?
Created attachment 145553 [details] list of files modified by first run of described test
Created attachment 145554 [details] list of files modified by second run of described test
Created attachment 145555 [details] list of files modified by third run of described test
Created attachment 145556 [details] list of files modified by running with no projects open.
Having similar issue but Closing native projects... bar never disappears. Waited up to 5 minutes. No CPU usage shown by NetBeans. Had to end task to get it to close. I only have one C++ project and it only has 2 source files. Not sure if this should be a new issue or not.
(In reply to pwade from comment #7) > Having similar issue but Closing native projects... bar never disappears. > Waited up to 5 minutes. No CPU usage shown by NetBeans. Had to end task to > get it to close. I only have one C++ project and it only has 2 source > files. Not sure if this should be a new issue or not. It is another problem. If you have a reproducible scenario, please file a bug with attached thread dump (see http://wiki.netbeans.org/GenerateThreadDump).