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 251576 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Libraries (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jan Stola
URL:
Keywords:
: 251996 256139 256294 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-02 00:37 UTC by Exceptions Reporter
Modified: 2015-11-05 09:11 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 216519


Attachments
stacktrace (1.19 KB, text/plain)
2015-04-02 00:37 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-04-02 00:37:29 UTC
This bug was originally marked as duplicate of bug 237243, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
shaile_martin: eoror

GUEST: Updated javascript libraries during Cordova project wizard
Cancelled the wizard while the javascript library update was running
Then, when it was finished, tried to create a Cordova application

GUEST: many times i restart the system and also i have mininum projects only o net beans. the cannot run. how to solve this problem.

GUEST: shit performance after being open for a long time with large projects. Switching between files caused temporary hanging, typing was sluggish. Finally completely non-responsive so I gave up. Guess I'll wait another 5 minutes for my projects to open AGAIN.

GUEST: The program just hung and was unresponsive.

GUEST: ctrl+a in a rather big file (eg 7000 lines), and then ctrl+v the same amount over it

GUEST: out of memory occured. PC has 16gb of available ram

GUEST: unknown error

GUEST: Updated file (which created conflicts) and program froze.

dancchamm: Netbeans had become impossibly slow.  It took many seconds when typing in HTML or CSS for the options to be echoed




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.Class.getDeclaredMethods0(Class.java:0)
   at java.lang.Class.privateGetDeclaredMethods(Class.java:2531)
   at java.lang.Class.getMethod0(Class.java:2774)
   at java.lang.Class.isCheckMemberAccessOverridden(Class.java:2214)
   at java.lang.Class.checkMemberAccess(Class.java:2233)
   at java.lang.Class.newInstance(Class.java:330)
Comment 1 Exceptions Reporter 2015-04-02 00:37:32 UTC
Created attachment 152990 [details]
stacktrace
Comment 2 KevinFairbanks 2015-07-10 18:45:20 UTC
Confirming this same issue on Windows 8 and Linux (Ubuntu/Mint) can also duplicate it when selecting an HTML5 project.
Comment 3 Jaroslav Havlin 2015-07-23 09:32:22 UTC
The biggest object in the heap dump is an array holding many DefaultLibraryImplementation instances with info about CNDJS libraries.

Reassigning to javascript/Libraries. Thank you.
Comment 4 Jan Stola 2015-07-23 12:27:12 UTC
The support for CDNJS libraries has been rewritten. There is no longer need to update them (there is an online search instead). So, it is no longer possible to run in OutOfMemoryError caused by the processing of a large downloaded file.
Comment 5 Jaroslav Havlin 2015-08-13 12:25:15 UTC
*** Bug 251996 has been marked as a duplicate of this bug. ***
Comment 6 Jaroslav Havlin 2015-10-23 15:50:16 UTC
*** Bug 256139 has been marked as a duplicate of this bug. ***
Comment 7 Jaroslav Havlin 2015-11-05 09:11:23 UTC
*** Bug 256294 has been marked as a duplicate of this bug. ***