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 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-22 12:22 UTC by Exceptions Reporter
Modified: 2016-07-07 07:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205494


Attachments
stacktrace (2.29 KB, text/plain)
2013-11-22 12:22 UTC, Exceptions Reporter
Details
stacktrace (2.29 KB, text/plain)
2014-12-26 19:50 UTC, toni_ac66
Details

Note You need to log in before you can comment on or make changes to this bug.
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