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.1 (Build 201510222201) VM: OpenJDK 64-Bit Server VM, 24.85-b03, OpenJDK Runtime Environment, 1.7.0_85-b01 OS: Linux User Comments: pmaselkowski: It hung on checking for external changes. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:300) at java.lang.StringCoding.encode(StringCoding.java:344) at java.lang.String.getBytes(String.java:916) at java.io.UnixFileSystem.getBooleanAttributes0(UnixFileSystem.java:0) at java.io.UnixFileSystem.getBooleanAttributes(UnixFileSystem.java:242) at java.io.File.isDirectory(File.java:843)
Created attachment 157712 [details] stacktrace
A lot of memory is consumed in Git, that's true. There is even a huge amount of scheduled tasks in a RP in Git. But that's probably because Git is periodically asked about file after file. There is probably a cyclic symlink in the file tree, see the thread "Project prescan initiator". The stacktrace is suspiciously deep and the file name is strange too: see the path for java.io.File#192996.
Symlinks might be problem, as I use a lot of them in projects, and it is possible that they cycle. It does not happen always. Will try to observe when it is happening.