Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362024

Summary: Content assist is super slow for javascript
Product: [WebTools] JSDT Reporter: Zhongwei Zhao <zhaozhongwei>
Component: WebAssignee: Project Inbox <jsdt.web-inbox>
Status: NEW --- QA Contact: Chris Jaun <cmjaun>
Severity: normal    
Priority: P3 CC: tibetoine, vkhomyackov
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
wtp version screenshot
none
normal static web project contains that used for reproducing this bug none

Description Zhongwei Zhao CLA 2011-10-25 23:42:29 EDT
have the following code in html file:
<script type="text/javascript">
Html|   // call CA at |
</script>

try to call content assist after "Html",my eclipse will hang many seconds.
Comment 1 Zhongwei Zhao CLA 2011-10-25 23:43:55 EDT
Created attachment 205962 [details]
wtp version screenshot
Comment 2 Zhongwei Zhao CLA 2011-10-25 23:46:09 EDT
Created attachment 205963 [details]
normal static web project contains that used for reproducing this bug
Comment 3 Nitin Dahyabhai CLA 2011-11-14 10:14:15 EST
Can you enable the Heap Monitor on the General Preference page and see whether you're simply running up against your limit?
Comment 4 Victor Homyakov CLA 2011-11-14 12:13:56 EST
It is always enabled because I was experiencing problems with heap amount, and I am constantly monitoring heap state since Eclipse 3.5. I've noticed nothing unusual - just slooow assist (and pauses on accidental hover popups in javascript). Current heap state (Eclipse was started at previous week, so at least 2-3 days of work with web projects): Heap size: 406M of total: 510M max: 870M.