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.
Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Mac OS X User Comments: chakrit_w: Tried to restart IDE after long time not finishing Background scanning of projects Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at org.tmatesoft.svn.core.internal.util.SVNHashMap.createTableEntry(SVNHashMap.java:177) at org.tmatesoft.svn.core.internal.util.SVNHashMap.put(SVNHashMap.java:161) at org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17$DefaultSvnFileListHook.listFiles(SVNStatusEditor17.java:176) at org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17.getDirStatus(SVNStatusEditor17.java:648) at org.tmatesoft.svn.core.internal.wc17.SVNStatusEditor17.walkStatus(SVNStatusEditor17.java:636) at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgGetStatus.run(SvnNgGetStatus.java:123)
Created attachment 146873 [details] stacktrace
i can see this in the log: WARNING [org.netbeans.modules.subversion.DiskMapTurboProvider]: Subversion cache contains 1,686 locally new (uncommitted) files. That many uncommitted files may cause performance problems when accessing the working copy. You should consider committing or permanently ignoring these files. Candidates for ignoring are: [/UCConnect/NetBeansProjects/UC_Softphone_JPhoneLite/src/resources: 1,686 new files] i strongly suggest you svn ignore this folder: /UCConnect/NetBeansProjects/UC_Softphone_JPhoneLite/src/resources All of memory is more or less consumed by FileUtil-Refresh-All task. It collects hundreds of thousands of files in rg.netbeans.modules.masterfs.filebasedfs.fileobjects.BaseFileObj.refresh and more interestingly in a single call to org.netbeans.modules.masterfs.filebasedfs.children.ChildrenSupport. Looking at the heap dump folder /UCConnect/NetBeansProjects/UC_Softphone_JPhoneLite/src/resources contains around 300 000 files !!!! chakrit_w: why do you keep 300 000 files in /UCConnect/NetBeansProjects/UC_Softphone_JPhoneLite/src/resources??? Lot of them in the format IMG.png.HASH. Remove them.
> Looking at the heap dump folder [...] contains around 300 000 files !!!! Working with such a huge project has quite high memory requirements. Please consider removing/hiding/ignoring the folder. Or increase the Xmx parameter if you really need to keep the files in your project.