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.
Summary: | Background scanning of projects never ends | ||
---|---|---|---|
Product: | ide | Reporter: | otisjenkins85 |
Component: | Code | Assignee: | issues@ide <issues> |
Status: | NEW --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.1 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
otisjenkins85
2016-03-15 11:17:04 UTC
Can you please provide messages.log file from the run when the scanning was stuck? Also capturing several thread dumps when IDE is scanning too long may be usefull. Thanks. I had to reinstall the IDE in the end because I wasn't even able to rename files etc, and the issue seems to have gone away for now. I wasn't aware of how to capture thread dumps, but the next time this happens (usually every few weeks or so) I will attach the dumps/logs etc. Thanks! OK this has started happening again. Before I reinstall Netbeans (again!), how do I capture thread dumps so I can provide you with some useful data? I still think if this is happening in EVERY VERSION of Netbeans I have ever had, on every machine I have ever had, and for this many people: https://www.google.co.uk/search?q=netbeans+scanning then there must be something fundamentally wrong with the way it works? :( Here is the guide how to capture threaddump. It is not necessary to reinstall whole IDE, probably deleting cachedir will do. Having this issue also ... I will try uninstall and re-install ... I did have Talend (Eclipse) open when I installed ... maybe not such a good idea to have other apps open when installing .. Maybe it is issue with "checking for external changes" .. After re-install Netbeans worked for a little while. Server may not have full open access to internet at work server. Will post again if I work out solution to this issue. IMHO the most probably it is related with GC. I've fixed problem for my very big project by increasing heap size for NetBeans: netbeans_default_options="-J-client -J-Xss2m -J-Xms128m -J-Xmx6G -J-XX:MetaspaceSize=300m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.dpiaware=true -J-Dsun.zip.disableMemoryMapping=true" in NetBeans 8.2\etc\netbeans.conf |