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 - GC overhead limit exceeded with Cannot add filesystem watch
Summary: GC overhead limit exceeded with Cannot add filesystem watch
Status: RESOLVED DUPLICATE of bug 239570
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-05 15:57 UTC by FraGoTe
Modified: 2014-03-11 12:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208170


Attachments
stacktrace (816 bytes, text/plain)
2014-03-05 15:57 UTC, FraGoTe
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***