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

Bug 342828

Summary: SQL editor uses too much CPU on longer documents
Product: [Tools] Data Tools Reporter: David Balažic <david.balazic>
Component: SQLDevToolsAssignee: dtp.sqldevtools-inbox <dtp.sqldevtools-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: 1.8.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Stack dump when the bug occurs none

Description David Balažic CLA 2011-04-14 08:31:17 EDT
Build Identifier: 20110301-1815

When editing  some foo.sql file which is long (2000 or more lines) the CPU usage becomes very high.
Happens when editing or just moving the text cursor up or down.


Eclipse Java EE IDE for Web Developers.

Version: Helios Service Release 2
Build id: 20110301-1815

SQLScrapbookEditor
org.eclipse.datatools.sqltools.sqlscrapbook
1.0.1.v201005250945


Reproducible: Always
Comment 1 David Balažic CLA 2011-05-18 14:40:48 EDT
Created attachment 196033 [details]
Stack dump when the bug occurs

I attached a few stackdumps, taken when the problem occurred (full CPU load and GUI freeze while editing an SQL file)
Note: not all stackdumps: were taken in such a situation, but most were (80%).
Comment 2 David Balažic CLA 2014-05-04 13:18:09 EDT
Same with 
org.eclipse.datatools.sqltools.sqlscrapbook (1.0.2.v201205310922)
in:
Eclipse Java EE IDE for Web Developers.

Version: Kepler Service Release 2
Build id: 20140224-0627