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

Summary: Degrading performance while editing .js files
Product: javascript Reporter: Jan Chalupa <jchalupa>
Component: EditorAssignee: Jan Jancura <jjancura>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump
diff

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.