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 269964

Summary: OutOfMemoryError: Java heap space
Product: javascript Reporter: pramodkrkoli
Component: EditorAssignee: Petr Pisl <ppisl>
Status: NEW ---    
Severity: normal CC: pramodkrkoli
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221656
Attachments: stacktrace

Description pramodkrkoli 2017-03-02 04:10:06 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Mac OS X

User Comments:
GUEST: sei la o que houve

GUEST: I have disabled resource scanner, but problem persists. After a while(~10-15mins) of coding, it becoms really slow and on the end I have to restart. GS is extensively doing a lot of work on multiple threads. JavaVM issue or netbeans internal missue?

GUEST: Didn't see anything wrong. No problem experienced.

GUEST: no idea how it came

GUEST: In a project with a lot of files (5GB) during XDebug

pramodkrkoli: It's working too slow

GUEST: Lancement du programme

GUEST: <Please provide a description of the problem or the steps to reproduce>asd

GUEST: <Please provide a description of the problem or the steps to reproduce> System went off while using Netbeans. On restart, i see this error

GUEST: The program stalled while trying to crete a new project (HTML and JS)

GUEST: i had just closed netbeans and turned on mycomputer

GUEST: I moved a file tab to a different window and it got stuck as a kind of overlay until I exited the program.

GUEST: parou tudo




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   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 org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveTypeFromExpression(ModelUtils.java:906)
Comment 1 pramodkrkoli 2017-03-02 04:10:09 UTC
Created attachment 163742 [details]
stacktrace