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 90915 - Degrading performance while editing .js files
Summary: Degrading performance while editing .js files
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jan Jancura
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-11 21:00 UTC by Jan Chalupa
Modified: 2009-02-27 14:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (24.53 KB, text/plain)
2006-12-11 21:01 UTC, Jan Chalupa
Details
diff (28.32 KB, text/plain)
2006-12-11 21:13 UTC, Jan Jancura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Chalupa 2006-12-11 21:00:23 UTC
[2006-12-08 daily]

Tried to open and edit relatively big .js files:

http://prototype.conio.net/dist/prototype-1.4.0.js
http://openrico.org/rico/download_file/1.1.2/rico.js

The performance was gradually getting worse until the IDE became almost 
unusable (will attach a thread-dump). It also seems that the JavaScript 
support needs a lot of memory and is reluctant to return it back. It doesn't 
take long to use the full heap when trying to edit various .js files.
Comment 1 Jan Chalupa 2006-12-11 21:01:25 UTC
Created attachment 36605 [details]
Thread dump
Comment 2 Jan Jancura 2006-12-11 21:13:36 UTC
Created attachment 36606 [details]
diff
Comment 3 Jan Jancura 2006-12-11 21:15:15 UTC
I have fixed this issue today.
Verify it in next build, please.
Comment 4 Jan Chalupa 2006-12-12 08:38:50 UTC
I'm no longer able to reproduce the problem with the 2006-12-11 daily. The JS
support still seems to consume memory a little too fast, but the performance
doesn't seem to be degrading as before.