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 78002 - Out of memory exception on modifying schema with read-only file attribute
Summary: Out of memory exception on modifying schema with read-only file attribute
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: bhate
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 16:03 UTC by kozlov
Modified: 2006-07-20 11:19 UTC (History)
0 users

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 kozlov 2006-06-15 16:03:20 UTC
Reproduced in build 060613.

To the bug reproduce:

- create LoanApplication Schema;
- exit IDE;
- set read-only file attribute to LoanApplication.xsd file;
- run IDE;
- open LoanApplication schema in Source;
- type anything
IDE hangs for a certain time and then throws out of memory exception:

java.lang.OutOfMemoryError: Java heap space
Comment 1 bhate 2006-07-15 00:39:42 UTC
this happens as we try to clear the undo queue which creates issues with r/o files
(deletes beforesaveedit)
we should check if we can undo/redo and then clear the queue.

Comment 2 kozlov 2006-07-20 11:19:22 UTC
Verified in build060719.