Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362024 - Content assist is super slow for javascript
Summary: Content assist is super slow for javascript
Status: NEW
Alias: None
Product: JSDT
Classification: WebTools
Component: Web (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Chris Jaun CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-25 23:42 EDT by Zhongwei Zhao CLA
Modified: 2013-06-19 11:10 EDT (History)
2 users (show)

See Also:


Attachments
wtp version screenshot (95.35 KB, image/jpeg)
2011-10-25 23:43 EDT, Zhongwei Zhao CLA
no flags Details
normal static web project contains that used for reproducing this bug (2.64 KB, application/octet-stream)
2011-10-25 23:46 EDT, Zhongwei Zhao CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.