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 204353 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED WORKSFORME
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-28 05:09 UTC by mil-ast
Modified: 2012-09-29 20:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 182377


Attachments
stacktrace (1.86 KB, text/plain)
2011-10-28 05:09 UTC, mil-ast
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mil-ast 2011-10-28 05:09:35 UTC
Build: NetBeans IDE 7.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
mil-ast: open large file sql, size 37,0 ??




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.modules.editor.lib2.document.MarkVector.reallocate(MarkVector.java:515)
   at org.netbeans.modules.editor.lib2.document.MarkVector.createPosition(MarkVector.java:181)
   at org.netbeans.modules.editor.lib2.document.MarkVector.position(MarkVector.java:171)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:174)
   at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:816)
   at org.netbeans.modules.editor.lib2.document.LineElementRoot.insertUpdate(LineElementRoot.java:93)
Comment 1 mil-ast 2011-10-28 05:09:39 UTC
Created attachment 112518 [details]
stacktrace
Comment 2 Miloslav Metelka 2012-05-30 09:42:23 UTC
Since it's build 110925 I'm not sure whether this is still relevant.
Reassigning to db since it happened when opening a large sql file.
Comment 3 matthias42 2012-09-29 20:33:46 UTC
Closing as stacktrace indicates error in editor infrastructure. The editor base was changed in 7.1 so this is either fixed or needs to be rechecked.