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.
I'm using: Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_11; Java HotSpot(TM) 64-Bit Server VM 11.0-b16 System: Linux version 2.6.27-7-server running on amd64; UTF-8; sl_SI (nb) with all updates installed. I have 7 projects opened with around 100 jar files in several Libraries linked to them. I also have couple of Libraries, pointing to directories with classes, linked to those projects. I'm also using Java Platforms JDK 1.6 (default) and JDK 1.4.2 and when I switch from one to the other on the largest project the memory consumption goes over the roof, up to 700MB. Because of this I have to specify -J-Xmx1024m in netbeans.conf or I get a lot of OutOfMemoryErrors. I've never had to do that in previous version of NetBeans. I've even tried with a clean USERDIR.
Created attachment 75959 [details] High memory consumption
Could you please attach "messages.log"?
Created attachment 75969 [details] messages.log
Created attachment 75970 [details] netbeans.conf
Could you please create a jmap histogram and attach it ot this issue? Thanks.
Created attachment 75973 [details] histo when NetBeans started
Created attachment 75974 [details] histo after Scanning Projects
Created attachment 76035 [details] patched javac
Should I do something with it ?
Could you please run your NetBeans with the patched javac (some additional logging added) and attach the new messages.log? You can do it simply by putting the attached javac-impl-nb-7.0-b07.jar into netbeans/java2/modules/ext directory. Don't forget to clean your userdir. Thanks.
Created attachment 76038 [details] New mesages.log
I've delete $USERDI/var/cache directory, started NetBeans, so the cache got updated and then changed Java Platform on the largest project.
for me scanning projects keeps scanning forever. I reinstalled Netbeans 6.5 today, cleaned out my project until only source files where left, reinstalled java SDK (current version) and still the same. It seems worse with the last update (since 24 updates were installed, i don't know which one). This was with my previous install and with the my current one. Can it have something to with parsing generics, Netbeans has had strange freezes since i started using generics extensively. I cannot exit Netbeans either. java.exe keeps running (full processor thread i.e. 50%) when i kill the netbaens.exe process. Just copied back and forth a file to another project (i abuse for a quick backup) with what i thought might be problematic source code and for now Netbeans works again. odd. I am just putting in some observations, hoping that someone will have a brainwave.
farcat: Please run IDE with fresh userdir and with switch: -J-Dorg.netbeans.modules.java.source.usages.RepositoryUpdater.level=FINEST a attach the log file here. Thanks
Created attachment 76495 [details] messages.log with FINEST
Base on jmap histogram, duplicate of #147656. *** This issue has been marked as a duplicate of 147656 ***