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 254470 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-18 08:37 UTC by pchela.ilya
Modified: 2015-09-15 14:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219254


Attachments
stacktrace (3.09 KB, text/plain)
2015-08-18 08:37 UTC, pchela.ilya
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pchela.ilya 2015-08-18 08:37:21 UTC
Build: NetBeans IDE 8.0.2 (Build 201411102027)
VM: OpenJDK 64-Bit Server VM, 25.51-b03, OpenJDK Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
pchela.ilya: just start IDE




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:906)
   at java.io.UnixFileSystem.list(UnixFileSystem.java:0)
   at java.io.File.list(File.java:1122)
   at java.io.File.listFiles(File.java:1207)
Comment 1 pchela.ilya 2015-08-18 08:37:23 UTC
Created attachment 155417 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2015-09-15 14:45:50 UTC
Most probably an invalid folder was selected to import settings from and user accepted that. Heap dump contains thousands of entries with file paths that are totally unrelated to netbeans options like "ProgramData/Application Data/...". Seems like a system junction file that actually points to itself was chosen? Anyway, fix from http://hg.netbeans.org/web-main/rev/d5d9a3c4e68f now stops asking user if he really wants to import options from what seems like an invalid folder and forbids doing that showing just an error. Thank you