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.

Bug 242582

Summary: GC overhead limit exceeded with Cannot add filesystem watch
Product: platform Reporter: FraGoTe
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208170
Attachments: stacktrace

Description FraGoTe 2014-03-05 15:57:55 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: OpenJDK 64-Bit Server VM, 24.45-b08, OpenJDK Runtime Environment, 1.7.0_51-b00
OS: Linux

User Comments:
FraGoTe: Open my NB




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.text.MessageFormat.<init>(MessageFormat.java:1188)
   at java.text.MessageFormat.format(MessageFormat.java:835)
   at java.util.logging.Formatter.formatMessage(Formatter.java:138)
   at org.netbeans.core.startup.logging.NbFormatter.print(NbFormatter.java:80)
   at org.netbeans.core.startup.logging.NbFormatter.format(NbFormatter.java:68)
   at java.util.logging.StreamHandler.publish(StreamHandler.java:196)
Comment 1 FraGoTe 2014-03-05 15:57:56 UTC
Created attachment 145783 [details]
stacktrace
Comment 2 Jaroslav Tulach 2014-03-06 09:35:54 UTC
The log 
http://statistics.netbeans.org/exceptions/messageslog?id=715582
is full of 
Cannot add filesystem watch for /var/www/SymfonySandBox/vendor/sonata-project/page-bundle/Consumer
messages. I guess the OOME will be related.
Comment 3 Jaroslav Havlin 2014-03-11 12:53:37 UTC
The biggest object (130 MB) in the heap dump is an instance of class org.apache.lucene.store.RAMDirectory. This is probably a duplicate of bug 239570.

The OOME doesn't seem to be related to filesystem watches. However, try increasing the inotify watch limit, specified in /proc/sys/fs/inotify/max_user_watches.

Thank you for reporting.

*** This bug has been marked as a duplicate of bug 239570 ***