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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 244085
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-22 09:02 UTC by snilek
Modified: 2014-04-25 18:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 209201


Attachments
stacktrace (1.98 KB, text/plain)
2014-04-22 09:02 UTC, snilek
Details

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