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 238696

Summary: OutOfMemoryError: Java heap space
Product: java Reporter: Exceptions Reporter <exceptions_reporter>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal CC: toni_ac66
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205494
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2013-11-22 12:22:09 UTC
This bug was originally marked as duplicate of bug 167881, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows XP

User Comments:
GUEST: Netbeans stopped working, was frozen. I had to force close it and reopen.




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.String.toCharArray(String.java:2753)
   at com.sun.tools.javac.file.JavacFileManager.toArray(JavacFileManager.java:81)
   at com.sun.tools.javac.util.DiagnosticSource.initBuf(DiagnosticSource.java:189)
   at com.sun.tools.javac.util.DiagnosticSource.findLine(DiagnosticSource.java:154)
   at com.sun.tools.javac.util.DiagnosticSource.getLineNumber(DiagnosticSource.java:77)
   at com.sun.tools.javac.util.JCDiagnostic.<init>(JCDiagnostic.java:404)
Comment 1 Exceptions Reporter 2013-11-22 12:22:10 UTC
Created attachment 142480 [details]
stacktrace
Comment 2 toni_ac66 2014-12-26 19:50:37 UTC
Created attachment 151285 [details]
stacktrace

I was editing this line of code:
            String sUtente[] = {"5",jtUtentiLogin.getText(),jtUtentiPassword.getText(),
                jcboUtentiTipo.getSelectedItem().toString(),jtUtentiEMail.getText(), 
                String.valueOf(jchkUtentiAbilitato.isSelected()) };

This is not the first time NetBeans stucks when editing lines of code containing
 String sUtente[] = {......}  .

Thanks.
Andrea
Comment 3 Martin Balin 2016-07-07 07:18:42 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss