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 243988

Summary: OutOfMemoryError: Java heap space
Product: platform Reporter: snilek
Component: FilesystemsAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jungi, snilek
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 209201
Attachments: stacktrace

Description snilek 2014-04-22 09:02:56 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-1568-on-20140417)
VM: Java HotSpot(TM) Client VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Linux

User Comments:
snilek: Scanning of project files with _cyclic symlinks_ resulted in an infinite loop. According to several bugzilla threads, the recognition of cyclic symlinks ought to have been fixed since 2012, but it does not seems so.

Note: the scanned project was a python project.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3326)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:622)
   at java.lang.StringBuilder.append(StringBuilder.java:202)
   at java.io.UnixFileSystem.resolve(UnixFileSystem.java:108)
Comment 1 snilek 2014-04-22 09:02:59 UTC
Created attachment 146880 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2014-04-25 14:41:06 UTC
Does not seem to be related with TestNG. re-assigning to filesystem component for evaluation. Thank you
Comment 3 snilek 2014-04-25 18:56:48 UTC
Hi,

I did some further testing and found the cause of the problem. I filed a more thorough, detailed and relevant report in #244085.

Best regards,
Jan Jansky
Comment 4 snilek 2014-04-25 18:57:21 UTC

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