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 153903 [details] IDE log I had ~10 projects open, some Maven-based Java EE Web projects, the others being HTML5 projects.
The heap dump was uploaded in builds #660 and/or #661 (both the Parameters & the Console Output are the same, so I don't know where the difference is).
For completeness, my environment is: Product Version: NetBeans IDE Dev (Build 201504230001) Updates: Updates available Java: 1.8.0_45; Java HotSpot(TM) 64-Bit Server VM 25.45-b02 Runtime: Java(TM) SE Runtime Environment 1.8.0_45-b14 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Thanks for the heap dump. It was uploaded twice, uploaded files are identical.
There are 189,567 instances of org.netbeans.modules.masterfs.filebasedfs.naming.FileName. It looks like most of the instances come from registered deep filesystem listeners (RepositoryUpdater$FCL).
Yes. Our setup is like this: we have one separate HTML5 project per "module", and then one "application" project which contains links (in this case: directory junctions) to all the other projects. So we have: application -- node_modules -- module1 ----- node_modules -- module2 ----- node_modules -- module3 ----- node_modules ... For the application we use npm to run a simple web server which serves all modules. For the modules, we use npm only to build each module with grunt (& thus the node_modules is mostly identical across modules). So NetBeans can just ignore those directories, because they are only used indirectly through grunt invocations. I already reported a related issue about opening of projects being very slow ( https://netbeans.org/bugzilla/show_bug.cgi?id=249908 ). This was also due to listening on the full node_modules subtrees. That issue was resolved, but it seems there are still other problems with this, such as this one.
Can you, please, test your scenario in current NetBeans dev. build? Does it work fine?