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 83470 - 'OutOfMemoryError: Java heap space' when applying Russain Doll pattern to OTA schema
Summary: 'OutOfMemoryError: Java heap space' when applying Russain Doll pattern to OTA...
Status: VERIFIED WONTFIX
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Ayub Khan
URL:
Keywords:
: 96032 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-25 13:59 UTC by Andrei Chistiakov
Modified: 2007-02-28 09:34 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Chistiakov 2006-08-25 13:59:20 UTC
Reproduced  in build 060824 (JDK 1.6 beta 2).

To reproduce the bug:
- apply Russian Doll design pattern to a singe file OTA schema schema. This
results in

java.lang.OutOfMemoryError: Java heap space
	at org.netbeans.editor.DocumentContent.enlargeGap(DocumentContent.java:208)
	at org.netbeans.editor.DocumentContent.insertText(DocumentContent.java:246)
	at org.netbeans.editor.DocumentContent$Edit.undoOrRedo(DocumentContent.java:373)
	at org.netbeans.editor.DocumentContent$Edit.<init>(DocumentContent.java:317)
	at org.netbeans.editor.DocumentContent.insertString(DocumentContent.java:84)
	at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:596)
	at javax.swing.text.AbstractDocument.replace(AbstractDocument.java:655)
...
Comment 1 Ayub Khan 2006-08-25 17:08:54 UTC
Affects docs/release notes:
===========================

Applyinging russian doll design pattern to OTA, requires atleast 148MB. Please
increase the java max memory to 256 from nb55 default of 128.

netbeans_default_options="-J-Xms32m -J-Xmx256m ...

from

netbeans_default_options="-J-Xms32m -J-Xmx128m ...
Comment 2 Andrei Chistiakov 2006-08-28 12:17:11 UTC
Verified in build 060827.
Comment 3 Ayub Khan 2007-02-28 09:34:21 UTC
*** Issue 96032 has been marked as a duplicate of this issue. ***