This discussion is archived
6 Replies Latest reply: Oct 19, 2012 6:05 AM by 961391 RSS

SQL Developer 2.1 on Mac after some time creates high CPU load

288739 Newbie
Currently Being Moderated
I am using SQL Developer 2.1.0.63.73 on Mac OS X 10.6.2

I have noticed that quite often after some time SQL Developer starts to create large CPU load (e.g. 50% of one CPU core) even when SQL Developer is idle and is not performing any activity.

Today I used jconsole with topthreads.jar (as described in http://lsd.luminis.nl/top-threads-plugin-for-jconsole/) to find out active threads of SQL Developer. Here is the screenshot of it:
!http://img.skitch.com/20100203-gx57qedpe65w69d5j9m64yd3xb.jpg!

Based on methods that AWT-EventQueue-0 thread is executing I suspect that it is repainting all the time some progress bar (but I do not see any progress bar on screen). Here is some snapshot of stack trace of this thread:

Name: AWT-EventQueue-0
State: RUNNABLE
Total blocked: 294,144,166 Total waited: 263,074,361

Stack trace:
java.lang.Object.notify(Native Method)
javax.swing.TimerQueue.addTimer(TimerQueue.java:127)
- locked javax.swing.TimerQueue@688e3a01
javax.swing.Timer.start(Timer.java:510)
com.apple.laf.AquaProgressBarUI$Animator.actionPerformed(AquaProgressBarUI.java:455)
javax.swing.Timer.fireActionPerformed(Timer.java:271)
javax.swing.Timer$DoPostEvent.run(Timer.java:201)
java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


I did Google search and found some similar issue described in http://elliotth.blogspot.com/2004/07/diagnosing-awt-thread-issues.html. Maybe it could help to investigate this issue?

Raimonds

Edited by: raymonds on Feb 3, 2010 5:19 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points