Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342828 - SQL editor uses too much CPU on longer documents
Summary: SQL editor uses too much CPU on longer documents
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: SQLDevTools (show other bugs)
Version: 1.8.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dtp.sqldevtools-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-14 08:31 EDT by David Balažic CLA
Modified: 2014-05-04 13:18 EDT (History)
0 users

See Also:


Attachments
Stack dump when the bug occurs (9.22 KB, application/binary)
2011-05-18 14:40 EDT, David Balažic CLA
no flags Details

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