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.
This bug was originally marked as duplicate of bug 212604, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build nbms-and-javadoc-11073-on-20130604) VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11 OS: Linux User Comments: GUEST: starting netbeans (every time) augcampos: Create a new project with several files in C++ and html5 Stacktrace: java.lang.OutOfMemoryError: Java heap space at org.openide.util.WeakSet$SharedKeyWeakHashMap.<init>(WeakSet.java:331) at org.openide.util.WeakSet.<init>(WeakSet.java:100) at org.openide.util.WeakSet.<init>(WeakSet.java:113) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.collectForRefresh(FileObjectFactory.java:491) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.refreshAll(FileObjectFactory.java:484) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory$1.run(FileObjectFactory.java:764)
Created attachment 135313 [details] stacktrace
org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectKeeper.listenToAll(FileObjectKeeper.java:217) ArrayDeque contains over 520 000 files listened on. Happens when adding a recursive listener in rg.netbeans.modules.web.clientproject.ClientSideProject$OpenHookImpl.addSiteRootListener(ClientSideProject.java:568) to augcampos: you must have a project opened configured in a really strange way, it must contain the following source root: /media/192.168.90.49 which contains a really huge amount of files. Why do you have this setup? Can you setup the project so it contains only files it really needs?
This a ssh mount of a remote machine and is a https server in c++ and a html client in javascrit (ext-js)
The project is really huge. It might help to be able to set some folders as ignored (e.g. PHP project has this feature). But I'm afraid that only few users will need this. Reassigning. Please evaluate this enhancement. Thank you. Possible workarounds: - Divide the project into smaller projects - Increase heap size, see http://wiki.netbeans.org/FaqSettingHeapSize - Set ignored files and folders: Menu -> Tools -> Options -> Miscellaneous -> Files -> Ignored Files Pattern
"520 000 files" indicates that project has wrong Site Root or Project Folder configured. For now this sounds more like a configuration error then an enhancement. augcampos, could you comment please? Thanks.
The reporter confirmed by email that the project was not configured properly, and that other projects are working fine. Thank you for reporting and help.