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 248610 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
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: 2014-11-13 08:58 UTC by lokeshrsharma
Modified: 2015-09-16 01:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 213395


Attachments
stacktrace (1.36 KB, text/plain)
2014-11-13 08:58 UTC, lokeshrsharma
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lokeshrsharma 2014-11-13 08:58:06 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
lokeshrsharma: Not able to update plugins in Netbeans 8.0. Tried at least 10 times.




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:421)
   at java.lang.StringBuilder.append(StringBuilder.java:136)
   at java.lang.StringBuilder.append(StringBuilder.java:131)
Comment 1 lokeshrsharma 2014-11-13 08:58:08 UTC
Created attachment 150463 [details]
stacktrace
Comment 2 Theofanis Oikonomou 2015-09-15 14:38:36 UTC
Changeset: d5d9a3c4e68f
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2015-09-15 16:37
Message:
Comment 3 Theofanis Oikonomou 2015-09-15 14:42:01 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. Fix 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
Comment 4 Quality Engineering 2015-09-16 01:26:14 UTC
Integrated into 'main-silver', will be available in build *201509160002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d5d9a3c4e68f
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #248610 - OutOfMemoryError: Java heap space