SQL Developer 1.51.5440 high CPU + frozen screen
Hi,
Using SQL Developer 1.51.5440 on WinXP. The laptop has 2 GB and decent CPU, the OS is well maintained and in good working order.
From times to times, the SQL Developer window becomes unresponsive (with a gray background). Either it freezes in this state or takes 2 to 5 minutes to becomes responsive again.
I started using SQL Developer last week (I am new to Oracle), I have already had 3 times where SQL Developer consumes a lot of CPU, make the CPU fan spins, and stay in this state permanently. I had to kill the process to make it stop. Not sure how to reproduce this issue but I suspect this could be clicking on a connection where the Oracle server is not accessible.
Is it a confirmed issue or is it specific to my laptop?
Thanks in advance for any help.
There are some reported problems where SLQDeveloper uses a lot of CPU. I don't know if the development team have got to the bottom of them, though.
If you can confirm the steps to reproduce, it would help the team.
Anti-virus software can cause general slowness in Java apps, but if Task Manager is showing SQLDeveloper using CPU rather than the virus scanner it probably isn't that.
Similar Messages
-
SQL Developer 1.51.5440 Font Settings
Hi,
In my other editors & dev tools, I set the font to Lucida Console 11. It looks OK. However, SQL Developer 1.51.5440 seems to interpret font seting differently:
- Lucida Console size 14 looks like size 10 in other editors.
- ClearType is not respected (look pixelated)
Also is it possible to set the font for the datagrid? (the one that display columns, constraints, data, etc. when clicking on a table).
Thanks in advance for any help.Changing the font in the grid is currently only possible through Look&Feel themes.
Nevertheless, there's a feature request at http://apex.oracle.com/pls/otn/f?p=42626:39:482060356626746::NO::P39_ID:7001 (Raghu, a developer, promised to check the status).
The theme's fontsize can be changed in the IDE.Properties file (under your user profile). If you're lucky, your problem with the size in the other areas might be affected by this also.
As for Cleartype, I understand you need a JDK 1.6. Sqldev comes with a bundled 1.5, but you can download the latest non-beta and set its use in sqldeverloper.conf (under the installation folder):
SetJavaHome C:\Archivos de programa\Java\jdk1.6.0_07Hope that helps,
K. -
SQL Developer 4 12.84 Burns CPU
I've just installed SQL Developer 4 build 12.84. After running a few queries I notice the sql developer is using > 50% of the available CPU constantly forseveral hours, despite not obviously running any queries.
Here's the output of jstack:
jstack 6540
2013-10-21 14:24:16
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.0-b56 mixed mode):
"Worker-278" prio=6 tid=0x000000000c361000 nid=0x23a4 in Object.wait() [0x000000000f2ae000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
- locked <0x00000000d092b180> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)
"Worker-277" prio=6 tid=0x000000000c35c000 nid=0x1f7c in Object.wait() [0x000000000f98e000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.core.internal.jobs.WorkerPool.sleep(WorkerPool.java:188)
- locked <0x00000000d092b180> (a org.eclipse.core.internal.jobs.WorkerPool)
at org.eclipse.core.internal.jobs.WorkerPool.startJob(WorkerPool.java:220)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:50)
"org.eclipse.jface.text.reconciler.MonoReconciler" daemon prio=2 tid=0x000000000bfef800 nid=0x222c in Object.wait() [0x0000000012c0f
000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:179)
- locked <0x00000000d7a46b70> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
"[ThreadPool Manager] - Idle Thread" daemon prio=6 tid=0x000000000e87c000 nid=0x21d0 in Object.wait() [0x000000001284f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor.run(Executor.java:106)
- locked <0x00000000d71aa9a0> (a org.eclipse.equinox.internal.util.impl.tpt.threadpool.Executor)
"Reporting Thread-1 (Spring UAA/1.0.3)" daemon prio=6 tid=0x000000000e87d800 nid=0x11b0 waiting on condition [0x00000000126de000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000d2bc1e88> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.LinkedBlockingQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Provisioning Event Dispatcher" daemon prio=6 tid=0x000000000e880800 nid=0x1d18 in Object.wait() [0x00000000125af000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d4b92180> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0x00000000d4b92180> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
"MultiThreadedHttpConnectionManager cleanup" daemon prio=6 tid=0x000000000e881800 nid=0x1ee8 in Object.wait() [0x0000000011f3f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d54b3278> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000d54b3278> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$ReferenceQueueThread.run(MultiThreadedHttpConnectionMana
ger.java:1122)
"Event Batch Processing (Spring UAA/1.0.3)" daemon prio=6 tid=0x000000000e880000 nid=0x1f14 waiting on condition [0x000000001237f000
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.springframework.ide.eclipse.internal.uaa.client.QueueingUaaServiceExtension$QueueFlushingRunnable.run(QueueingUaaServ
iceExtension.java:307)
at java.lang.Thread.run(Unknown Source)
"Synchronizer (Spring UAA/1.0.3)" daemon prio=6 tid=0x000000000e87f000 nid=0x19cc waiting on condition [0x000000001221f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.springframework.uaa.client.internal.TransmissionAwareUaaServiceImpl$UaaTransmissionRunnable.run(TransmissionAwareUaaS
erviceImpl.java:397)
at java.lang.Thread.run(Unknown Source)
"org.eclipse.jface.text.reconciler.MonoReconciler" daemon prio=2 tid=0x000000000c35b000 nid=0x21f0 in Object.wait() [0x000000000fdcf
000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:179)
- locked <0x00000000d538b990> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
"org.eclipse.jdt.internal.ui.text.JavaReconciler" daemon prio=2 tid=0x000000000bff0000 nid=0x1adc in Object.wait() [0x000000000fcaf0
00]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:179)
- locked <0x00000000d3ac0470> (a org.eclipse.jface.text.reconciler.DirtyRegionQueue)
"Java indexing" daemon prio=4 tid=0x000000000bfeb800 nid=0x1ef0 in Object.wait() [0x000000000faff000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d3eabf80> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:382)
- locked <0x00000000d3eabf80> (a org.eclipse.jdt.internal.core.search.indexing.IndexManager)
at java.lang.Thread.run(Unknown Source)
"pool-1-thread-1" prio=6 tid=0x000000000bfee800 nid=0x1ad0 waiting on condition [0x000000000f3de000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000d16684a8> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
at java.util.concurrent.SynchronousQueue.take(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Worker-0" prio=6 tid=0x000000000bfeb000 nid=0x1f10 waiting on condition [0x000000000d58f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.apache.directory.studio.common.core.jobs.StudioProgressMonitor$1.run(StudioProgressMonitor.java:99)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
"Thread-2" daemon prio=2 tid=0x000000000bb26800 nid=0x13e4 waiting on condition [0x000000000ce1f000]
java.lang.Thread.State: WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000d0a38640> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
at java.util.concurrent.locks.LockSupport.park(Unknown Source)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(Unknown Source)
at java.util.concurrent.ArrayBlockingQueue.take(Unknown Source)
at org.eclipse.equinox.weaving.internal.caching.CacheWriter$1.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Worker-JM" prio=6 tid=0x000000000bb3a000 nid=0x2158 in Object.wait() [0x000000000d10f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d092b410> (a java.util.ArrayList)
at org.eclipse.core.internal.jobs.InternalWorker.run(InternalWorker.java:58)
- locked <0x00000000d092b410> (a java.util.ArrayList)
"[Timer] - Main Queue Handler" daemon prio=6 tid=0x000000000b08f800 nid=0x16a4 in Object.wait() [0x000000000cf2f000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.equinox.internal.util.impl.tpt.timer.TimerImpl.run(TimerImpl.java:141)
- locked <0x00000000d0d8b268> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
"Framework Event Dispatcher" daemon prio=6 tid=0x000000000b17b800 nid=0xc2c in Object.wait() [0x000000000cb8f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d1d71fa0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0x00000000d1d71fa0> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
"Start Level Event Dispatcher" daemon prio=6 tid=0x000000000b05c000 nid=0x99c in Object.wait() [0x000000000c9df000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d17f6820> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0x00000000d17f6820> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
"Bundle File Closer" daemon prio=6 tid=0x000000000b01a000 nid=0x183c in Object.wait() [0x000000000c7ef000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000d078dd70> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.getNextEvent(EventManager.java:400)
- locked <0x00000000d078dd70> (a org.eclipse.osgi.framework.eventmgr.EventManager$EventThread)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:336)
"State Data Manager" daemon prio=6 tid=0x000000000ad67800 nid=0x1be8 waiting on condition [0x000000000a32f000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.eclipse.osgi.internal.baseadaptor.StateManager.run(StateManager.java:297)
at java.lang.Thread.run(Unknown Source)
"Framework Active Thread" prio=6 tid=0x0000000009ecc800 nid=0x1d20 in Object.wait() [0x000000000b5fe000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at org.eclipse.osgi.framework.internal.core.Framework.run(Framework.java:1862)
- locked <0x00000000d064c5c0> (a org.eclipse.osgi.framework.internal.core.Framework)
at java.lang.Thread.run(Unknown Source)
"Service Thread" daemon prio=6 tid=0x0000000008460800 nid=0x1220 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" daemon prio=10 tid=0x0000000008456000 nid=0x1ed8 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x000000000843f000 nid=0x1130 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Attach Listener" daemon prio=10 tid=0x000000000843d000 nid=0x1c64 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x000000000843b800 nid=0x15f4 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=8 tid=0x000000000261c800 nid=0x11f0 in Object.wait() [0x000000000925f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000d028d4b0> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x0000000002618800 nid=0x9d0 in Object.wait() [0x000000000908f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x00000000d028cff8> (a java.lang.ref.Reference$Lock)
"main" prio=6 tid=0x00000000026de800 nid=0x1c70 runnable [0x000000000295e000]
java.lang.Thread.State: RUNNABLE
at org.eclipse.swt.internal.win32.OS.WaitMessage(Native Method)
at org.eclipse.swt.widgets.Display.sleep(Display.java:4656)
at org.eclipse.ui.application.WorkbenchAdvisor.eventLoopIdle(WorkbenchAdvisor.java:364)
at org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.eventLoopIdle(IDEWorkbenchAdvisor.java:917)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2702)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
"VM Thread" prio=10 tid=0x00000000083e1800 nid=0x21ac runnable
"GC task thread#0 (ParallelGC)" prio=6 tid=0x0000000002555000 nid=0xcb0 runnable
"GC task thread#1 (ParallelGC)" prio=6 tid=0x0000000002557000 nid=0x1408 runnable
"VM Periodic Task Thread" prio=10 tid=0x000000000846b000 nid=0x12c8 waiting on condition
JNI global references: 298Gary
This is still happening regularly. I running several stack dumps a minute or two apart, I see that the "Background Parser" thread is likely to be the culprit:
1st stack dump:
"Background Parser" prio=6 tid=0x000000001101c000 nid=0x166c runnable [0x000000000a6be000]
java.lang.Thread.State: RUNNABLE
at java.util.TreeMap.put(TreeMap.java:567)
at java.util.TreeSet.add(TreeSet.java:255)
at oracle.dbtools.parser.ParseNode.children(ParseNode.java:347)
at oracle.dbtools.parser.plsql.LazyNode.children(LazyNode.java:35)
at oracle.dbtools.parser.ParseNode.childAt(ParseNode.java:130)
at oracle.dbtools.parser.plsql.LazyNode.childAt(LazyNode.java:47)
at oracle.dbtools.parser.ParseNode.parent(ParseNode.java:121)
at oracle.dbtools.parser.plsql.LazyNode.isControlStmt(LazyNode.java:175)
at oracle.dbtools.parser.plsql.LazyNode.isStmt(LazyNode.java:196)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:126)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:168)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:168)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.stateChanged(PlSqlFoldingModel.java:342)
at oracle.dbtools.raptor.plsql.BackgroundParser.parse(BackgroundParser.java:199)
- locked <0x00000000d289e950> (a oracle.dbtools.raptor.plsql.BackgroundParser)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:151)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:724)
A few minutes later:
"Background Parser" prio=6 tid=0x000000001101c000 nid=0x166c runnable [0x000000000a6be000]
java.lang.Thread.State: RUNNABLE
at oracle.dbtools.parser.ParseNode.childAt(ParseNode.java:132)
at oracle.dbtools.parser.plsql.LazyNode.childAt(LazyNode.java:47)
at oracle.dbtools.parser.ParseNode.parent(ParseNode.java:121)
at oracle.dbtools.parser.plsql.LazyNode.isControlStmt(LazyNode.java:175)
at oracle.dbtools.parser.plsql.LazyNode.isStmt(LazyNode.java:196)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:126)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:168)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:168)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.stateChanged(PlSqlFoldingModel.java:342)
at oracle.dbtools.raptor.plsql.BackgroundParser.parse(BackgroundParser.java:199)
- locked <0x00000000d289e950> (a oracle.dbtools.raptor.plsql.BackgroundParser)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:151)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:724)
And again:
"Background Parser" prio=6 tid=0x000000001101c000 nid=0x166c runnable [0x000000000a6be000]
java.lang.Thread.State: RUNNABLE
at java.util.TreeMap.put(TreeMap.java:567)
at java.util.TreeSet.add(TreeSet.java:255)
at oracle.dbtools.parser.ParseNode.children(ParseNode.java:347)
at oracle.dbtools.parser.plsql.LazyNode.children(LazyNode.java:35)
at oracle.dbtools.parser.ParseNode.childAt(ParseNode.java:130)
at oracle.dbtools.parser.plsql.LazyNode.childAt(LazyNode.java:47)
at oracle.dbtools.parser.ParseNode.parent(ParseNode.java:121)
at oracle.dbtools.parser.plsql.LazyNode.isControlStmt(LazyNode.java:175)
at oracle.dbtools.parser.plsql.LazyNode.isStmt(LazyNode.java:196)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:126)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.walkParseTree(PlSqlFoldingModel.java:168)
at oracle.dbtools.raptor.plsql.folding.PlSqlFoldingModel.stateChanged(PlSqlFoldingModel.java:342)
at oracle.dbtools.raptor.plsql.BackgroundParser.parse(BackgroundParser.java:199)
- locked <0x00000000d289e950> (a oracle.dbtools.raptor.plsql.BackgroundParser)
at oracle.dbtools.raptor.plsql.BackgroundParser$1.construct(BackgroundParser.java:151)
at oracle.dbtools.raptor.utils.NamedSwingWorker$2.run(NamedSwingWorker.java:115)
at java.lang.Thread.run(Thread.java:724)
SQL Developer has only been up for a 30 mins or so, but I did load and run a large generated file of inserts (50K lines). However once it has got into this state it never terminates.. -
High CPU usage after 10g to 11g Migration
Hello,
I have migrated some database instances via import/export from 10g 10.0.3.0 to 11g 11.2.0.2
I found that below SQL Statements mainly cause the high CPU load
select * from (select null table_qualifier, o1.owner table_owner, o1.object_name table_name, decode(o1.owner, :"SYS_B_00", decode(o1.object_type, :"SYS_B_01", :"SYS_B_02", :"SYS_B_03", :"SYS_B_04", o1.object_type), :"SYS_B_05", decode(o1.object_type, :"SYS_B_06", :"SYS_B_07", :"SYS_B_08", :"SYS_B_09 ", o1.object_type), o1.object_type) table_type, null remarks from all_objects o1 where o1.object_type in (:"SYS_B_10", :"SYS_B_11") union select null table_qualifier, s.owner table_owner, s.synonym_name table_name, :"SYS_B_12" table_type, null remarks from all_objects o3, all_synonyms s where o3.object_type in (:"SYS_B_13", :"SYS_B_14") and s.table_owner= o3.owner and s.table_name = o3.object_name union select null table_qualifier, s1.owner table_owner, s1.synonym_name table_name, :"SYS_B_15" table_type, null remarks from all_synonyms s1 where s1.db_link is not null ) tables WHERE :"SYS_B_16"=:"SYS_B_17" AND TABLE_NAME=:"SYS_B_18" ORDER BY :"SYS_B_19", :"SYS_B_20", :"SYS_B_21"
(SELECT :"SYS_B_00", T.owner, T.table_name, TO_NUMBER(NULL), :"SYS_B_01", :"SYS_B_02", :"SYS_B_03", TO_NUMBER(NULL), :"SYS_B_04", :"SYS_B_05", num_rows, blocks, NULL FROM ALL_TABLES T WHERE table_name=:"SYS_B_06" UNION SELECT :"SYS_B_07", a.table_owner, a.table_name, decode(a.uniqueness, :"SYS_B_08", :"SYS_B_09", :"SYS_B_10"), a.owner, a.index_name, :"SYS_B_11&q uot;, b.column_position, b.column_name, :"SYS_B_12", a.distinct_keys, a.leaf_blocks, NULL FROM ALL_INDEXES a, ALL_IND_COLUMNS b WHERE a.owner = b.index_owner AND a.index_name = b.index_name AND a.table_owner=:"SYS_B_13" AND a.table_name=:"SYS_B_14" UNION SELECT :"SYS_B_15", c.owner, c.synonym_name, decode(a.uniqueness, :"SYS_B_16", :"SYS_B_17", :"SYS_B_18"), a.owner, a.index_name, :"SYS_B_19", b.colu mn_position, b.column_name, :"SYS_B_20", a.distinct_keys, a.leaf_blocks, NULL FROM ALL_INDEXES a, ALL_IND_COLUMNS b, ALL_SYNONYMS c WHERE c.synonym_name=:"SYS_B_21" AND c.owner=:"SYS_B_22" AND c.table_name = a.table_name AND c.table_name = b.table_name AND c.table_owner= a.table_owner AND c.table_owner= b.table_owner AND a.owner = b.index_owner AND a.index_name = b.index_name ) ORDER BY :"SYS_B_23", :"SYS_B_24", :"SYS_B_25", : "SYS_B_26"
Does anyone know why it is so??
I have gathered System Statistics and data dictionary statistics also, but had same performance issue.
Thanks,
RajWe have a similar issue:
SELECT '', T.owner, T.table_name, TO_NUMBER(NULL), '', '', 0, TO_NUMBER(NULL), '', '', num_rows, blocks, NULL FROM ALL_TABLES...
It appears this kind of statement is being generated from MS Access 2007 as part of a translation to Oracle SQL. I suspect Access 2007 doesn't know about the 11gR2 system catalog changes.
The Oracle SQL Advisor indicates the following on the SQL statement comming from Acess 2007:
Restructure SQL An expensive cartesian product operation was found at line ID 5 of the execution plan. Consider removing the disconnected table or view from this statement or add a join condition which refers to it. A cartesian product should be avoided whenever possible because it is an expensive operation and might produce a large amount of data.
Restructure SQL An expensive "UNION" operation was found at line ID 1 of the execution plan. Consider using "UNION ALL" instead of "UNION", if duplicates are allowed or uniqueness is guaranteed. "UNION" is an expensive and blocking operation because it requires elimination of duplicate rows. "UNION ALL" is a cheaper alternative, assuming that duplicates are allowed or uniqueness is guaranteed.
I think application needs to upgrade to Access 2010 or Access 2007 needs a service pack.
There is also supposed to be a way to remove the system & sys catalog calls from Access 2007 on the PC this is coming from. -
SQL Developer 3.3.20 maximized issue
I've been running SQL Developer 3.1.07 on my Linux Mint 13 (Ubuntu 12.04) 64-bit cinnamon desktop for well over a year, and today, I downloaded the 3.2.20 linux rpm, and installed via alien / dpkg.
I migrated my settings, and can connect to any of my databases fine.
However, I'm having problems with the menus when SQL Developer is maximized.
For example,
1. I mouse click on any menu, but the menu does not stay selected (I must hold the mouse button down).
2. When I select a menu entry, another menu is displayed. i.e. click Help, then try to select any item, and the Versioning menu displays.
If I un-maximize SQL Developer, and stretch to 90% of the screen, it works fine. Using the Alt keyboard and up/down arrow works fine.
I updated my Java to 1.6.0_43 and rebooted my PC, but the problem still persists (when maximised).
Anyone have an idea of what might be causing this?ah,... never mind. Some more Googling and I see there are known issues.
Developer GUI problem on x64 Fedora
Will just have to live with it 90%.
Edited by: stuartu on Apr 11, 2013 9:20 AM -
SQL Developer High Memory Consumption 3.2.20.09.87
Hello,
I have been using SQL developer for quite some time and had initially had problems in the past with high memory consuption when I use this tool.
I have received and applied advice from this forum and while it had helped a little, the majority of the high memory consuption remained an issue.
I finally got more time to dig around and try to specifically isolate where the problem seems to be coming from and here is what I found.
*1)* I have removed the Check for Updates feature
*2)* I have turned off many of the extensions except for DBA Navigator, Real Time SQL Monitoring, SearchBar and Snippet.
*3)* When I start a fresh SQL Developer Session and initiate a Oracle Connection the application consumes roughly 148 meg fo RAM
*4)* When I open my Windows Task Manager and watch the memory allocated to SQL Developer I notice it goes up when I move my mouse over the SQL Developer tool and When I run through menus at roughly 5k a second or so and the memory is never released back to the system.
*5)* When I run a Large SQL to the grid the memory jumps by about 100 meg or so and will continue to do so every time I repeat the SQL until SQL Developer consumes roughly 748 meg of RAM.
*6)* 748 Meg of RAM seems to be the number when SQL Developer (with one Oracle connection) no longer continues to consume more and then not return the memory to the system.
Is there a way to have SQL Developer automatically clear up it's active memory usage without closing it down and restarting it?
Why does SQL Developer continue to consume more and more memory just from moving your mouse over it and/or by navigating menus?
Here is my About Detail;
Oracle SQL Developer 3.2.20.09
Version 3.2.20.09
Build MAIN-09.87
Copyright © 2005, 2012 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.48
Product ID: oracle.sqldeveloper
Product Version: 11.2.0.09.87
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_35
Oracle IDE 3.2.20.09.87
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 109707460930968
ide.build MAIN-09.87
ide.conf C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 3276
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\twilliams\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloperW.exe
ide.startingcwd C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
ide.user.dir C:\Users\twilliams\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\twilliams\Documents\SQL Developer
ide.work.dir.base C:\Users\twilliams\Documents
ilog.propagatesPropertyEditors false
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\endorsed
java.ext.dirs C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre
java.io.tmpdir c:\Temp\
java.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\app\twilliams\product\11.2.0\client_3\bin;C:\app\twilliams\product\11.2.0\client_3;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Access Connections\;C:\Program Files\WinMerge;C:\Program Files\ThinkPad\Bluetooth Software\;.
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_35-b10
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_35
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 20.10-b01
jdbc.driver.home /C:/app/twilliams/product/11.2.0/client_3/
jdbc.library /C:/app/twilliams/product/11.2.0/client_3/jdbc/lib/ojdbc6.jar
line.separator \r\n
oracle.home C:\app\twilliams\product\11.2.0\client_3\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/app/twilliams/product/11.2.0/client_3/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\resources.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\rt.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\sunrsasign.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jsse.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\jce.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\charsets.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\lib\modules\jdk.boot.jar;C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\classes
sun.boot.library.path C:\app\twilliams\product\11.2.0\client_3\sqldeveloper\jdk\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country US
user.dir C:\app\twilliams\product\11.2.0\client_3\SQLDEVELOPER\SQLDEVELOPER\BIN
user.home C:\Users\twilliams
user.language en
user.name twilliams
user.timezone America/Los_Angeles
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.48 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.48 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.48 Loaded
Data Miner oracle.dmt.dataminer 11.2.1.1.09.87 Disabled by user
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.48 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.48 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.48 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.48 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.48 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.48 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.48 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.48 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.48 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.48 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.48 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.48 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.48 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.48 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.48 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.48 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.48 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.48 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.48 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.48 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.48 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.2.0.09.87 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.2.0.09.87 Loaded
Oracle SQL Developer - APEX Listener Administration oracle.sqldeveloper.listener 11.2.0.09.87 Loaded
Oracle SQL Developer - Change Mangement oracle.sqldeveloper.em_cm 11.2.0.09.87 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Database Cart oracle.sqldeveloper.dbcart 11.2.0.09.87 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 11.2.0.09.87 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.2.0.09.87 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core_antlr3
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Migrations Teradata SQL Translator oracle.sqldeveloper.migration.translation.teradata_translator 11.2.0.09.87 Missing dependencies: oracle.sqldeveloper.migration, oracle.sqldeveloper.migration.translation.core
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.2.0.09.87 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.2.0.09.87 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.2.0.09.87 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.2.0.09.87 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.2.0.09.87 Loaded
Oracle SQL Developer - Security oracle.sqldeveloper.security 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.2.0.09.87 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.2.0.09.87 Disabled by user
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 11.2.0.09.87 Disabled by user
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.2.0.09.87 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.2.0.09.87 Disabled by user
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.2.0.09.87 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.2.0.09.87 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.2.0.09.87 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.1.4.710 Disabled by user
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.2.0.09.87 Disabled by user
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.48 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.48 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.48 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.48 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.48 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.48 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.48 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.48 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.48 Disabled by user
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.48 Missing dependencies: oracle.jdeveloper.vcs
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.48 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.48 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.48 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.48 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.48 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.48 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.48 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.48 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.48 Loaded
status oracle.ide.status 11.1.1.4.37.59.48 Loaded
Thanks in advance...
Tom
Edited by: ERPDude on Feb 28, 2013 2:46 PMAces!!! You nailed it Gary...
Thank you.
I applied fixed noted in Re: Reduce SQLDeveloper memory footprint with JDK 1.7
For others, to summarize my changes.
product\11.2.0\client_3\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
AddVMOption -XX:+UnlockExperimentalVMOptions
AddVMOption -XX:+UseG1GC
AddVMOption -XX:MaxGCPauseMillis=50
AddVMOption -XX:GCPauseIntervalMillis=200
AddVMOption -XX:MaxPermSize=128M
AddVMOption -Xms50M
AddVMOption -Xmx384M
AddVMOption -XX:MinHeapFreeRatio=10
AddVMOption -XX:MaxHeapFreeRatio=10
product\11.2.0\client_3\sqldeveloper\ide\bin\ide.conf
comment the following two lines as shown below
#AddVMOption -Xmx640M
#AddVMOption -Xms128M
Now SQL Developer runs at roughly 500 meg.
I guess the only thing I have left to ask others reviewing this would be if there is a way to get these memory values down without having much adverse impacts on SQL Developer based on newer JVM switches/functionalities.
The posts that drove these changes are old from a technologoical perspective :) 2010.
Tom -
High CPU Usage On client application when upgrade remote SQL database
Hi,
Is anyone here encountered very high CPU usage after upgraded the database from SQL 2005 to SQL 2012? Following describes my issue.
I have my client application running on Windows 7 that access to central database (SQL 2005) on Windows server 2003 using ODBC connection, this client application basically query data and perform data insert and update. There are a number of this similar
clients connected to the database.
Due to slowness of the database server, company decided to upgrade the database server to SQL 2012 and also new hardware runing Windows Server 2012. There is no change on the client application and client hardware and the client application still using the
same ODBC connection to query, insert or update the new database server.
The problem I am now experiencing now is that my client PC where my client application running the CPU usage is very high almost hitting 100% when accessing to the central database. I am also noticed this program lsass.exe that utilized almost 40-50% of
the CPU time when client application accessing the central database.
Is anyone here know, why client PC CPU usage 100% when access to upgraded SQL 2012 database? What is lsass.exe program doing, it only appear when accessing to database server. How to reduce the CPU usage on client?
Thanks.
Chee Wee.Hello,
After upgrading, please rebuild indexes and update statistics on the databases.
http://www.mssqltips.com/sqlservertip/1367/sql-server-script-to-rebuild-all-indexes-for-all-tables-and-all-databases/
http://www.mssqltips.com/sqlservertip/1606/execute-update-statistics-for-all-sql-server-databases/
Configure maxdop on the instance.
http://blogs.msdn.com/b/sqlsakthi/archive/2012/05/24/wow-we-have-maxdop-calculator-for-sql-server-it-makes-my-job-easier.aspx
If the above does not solve the issue, let us know.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Developer 1.5 pegs CPU at 100% in Procedure Editor
I have noticed that opening a large package or procedure causes SQL Developer to chew up 100% of my CPU as soon as I start typing. There is a 3-5 second delay before any key I press appears on the screen. If I let it sit for about 2 minutes, the CPU usage drops to normal, but shoots back to 100% as soon as I type anything. This makes it unbearable to use. I have verified this DOES NOT happen in 1.2.
The client PC I am using is Dell Celeron 2.4ghz with 1gig of memory.
The Oracle version is 10g - 10.2.0.3.0
The SQL Developer version I am using is 1.5.0.53, Build MAIN-53.38
I have tried turning of code insight and auto complete, and have added "-J-Dsdev.insight=false" to the startup parameters but it doesn't help at all. Anyone else noticing this and have any insights, workarounds, etc?I just recently updated my SQL Developer to 1.5.1.
When I edit my Package Body( adding some lines of code)
my CPU jumps up to 100% and stays there for maybe 5 seconds
or longer.I did NOT press the SAVE button, just typing maybe 10 characters.
The 100% CPU is happening too often. I must find a way around it.
I thought the program COULD be doing an AUTOMATIC SAVE after
so many seconds, but I cannot confirm that yet...
I may have to go back to the previous version...
I'll try the previous suggestion.
Until then, I'll wait for the next upgrade... -
SQL Developer - High usage of memory !
Hello All,
I have downloaded SQL Developer 4 today and when i started working on it, my computer memory started to IRK a lot. So when i checked in "Task Manager", i found something very strange.
The memory consumption was too high (almost 350 MB). Can someone tell me why is this version of SQL Developer is using such as huge amount of memory or is there some workaround for this issue.
I tried to attach the screenshot but that did not happen.
Any help is greatly appreciated.
Thanks in advance,
Aravind SWhy is that number, 'too much?'
What Windows reports is rarely accurate with Java applications.
How much RAM do you have on your machine, and how much was free when your machine started to misbehave? -
How to point out high CPU Utilization in sql server 2008
Hi,
I am using sql server 2008 , where in i have 10 instances in the physical box of all sql server 2008 versions.
I can see , the CPU (12 CPUS) that is allocated to the physical box is consuming around 90% of utilization, I need your help to point out the exact sql instance that is using more CPU, Please give me the mathods , since i understand that there is no fixed
rule to derive the solution.
Thank you
hemadriThis first thing to check if CPU is at 100% is to look for parallel queries:
-- Tasks running in parallel (filtering out MARS requests below):
select * from sys.dm_os_tasks as t
where t.session_id in (
select t1.session_id
from sys.dm_os_tasks as t1
group by t1.session_id
having count(*) > 1
and min(t1.request_id) = max(t1.request_id));
-- Requests running in parallel:
select *
from sys.dm_exec_requests as r
join (
select t1.session_id, min(t1.request_id)
from sys.dm_os_tasks as t1
group by t1.session_id
having count(*) > 1
and min(t1.request_id) = max(t1.request_id)
) as t(session_id, request_id)
on r.session_id = t.session_id
and r.request_id = t.request_id;
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
SQL Developer Version 1.5.1 Build MAIN-5440 Imported Connections missing
I have a problem using SQL Developer Version 1.5.1 Build MAIN-5440. I have successfully imported connections from my previous version of SQL Developer. After I restart, all the connections I have imported has been gone. I tried to import the connections but got an error message:
java.lang.NullPointerException
at oracle.jdeveloper.db.DatabaseConnections.getReferenceable(DatabaseConnections.java:695)
at oracle.jdeveloper.db.DatabaseConnections.addConnection(DatabaseConnections.java:762)
at oracle.dbtools.raptor.connections.ConnectionGrinder.doImportExport(ConnectionGrinder.java:243)
at oracle.dbtools.raptor.connections.ConnectionGrinder.invoke(ConnectionGrinder.java:117)
at oracle.dbtools.raptor.navigator.DatabaseNavigatorController.handleEvent(DatabaseNavigatorController.java:200)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:524)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:855)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:496)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
I tried to create a new connections. I can test the newly created connections but cannot save it.This bug was fixed in SqlDev 2.1.1. You'll find this build on our homepage.
-Raghu -
SQL Server 2012 - RESOURCE MONITOR / PREEMPTIVE_XE_CALLBACKEXECUTE high CPU usage
Hello,
We are currently in the process of migrating an existing clustered SQL Server 2008 R2 instance over to a clustered SQL Server 2012 instance as we phase out the Windows Server 2008 with SQL Server 2008 R2.
The setup is identical for the SQL Server 2012 instance as it is on the SQL Server 2008 R2 instance. (meaning the RAM and CPU are both the same or better on the SQL Server 2012 instance)
The process in which we are migrating is that we're moving a few databases over to the new SQL Server 2012 instance each night. What we've noticed is that the CPU usage is much higher on the SQL Server 2012 instance than on the previous
SQL Server 2008 R2 instance even though the there is only 1/2 of the databases migrated to the 2012 instance.
Running the following script:
;with cte ([totalCPU]) as (select sum(cpu) from master.dbo.sysprocesses)
select
tblSysprocess.spid
, tblSysprocess.cpu
, CONVERT(BIGINT,(tblSysprocess.cpu * CONVERT(BIGINT,100))) / CONVERT(BIGINT, cte.totalCPU) as [percentileCPU]
, tblSysprocess.physical_io
, tblSysprocess.memusage
, tblSysprocess.cmd
, tblSysProcess.lastwaittype
from master.dbo.sysprocesses tblSysprocess
cross apply cte
order by tblSysprocess.cpu desc
Produces the following results:
In a clustered environment, is this normal and if not, does anyone know what this means or how to reduce the CPU usage?
Thanks.Hello,
The following query may help us identify extended events or audit configurations running on that SQL Server server that are producing that high CPU usage scenario.
SELECT
s.name
AS 'Sessions'
FROM
sys.server_event_sessions
AS s
WHERE
s.name
<> 'system_health'
and s.name
<> 'AlwaysOn_health';
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
SQL Developer occasionally hogs all CPU resources
Client OS: Windows XP Professional
Connecting to : Oracle 9.2.0.3 on Sun Solaris server
I encountered a few instances where SQL Developer hogs all CPU resources on my Windows XP notebook.
I usually have to kill the SQL Developer process.
I have noticed this happening occasionally when I :
1. hit Enter at the SQL Worksheet window
2. hit F9 at the SQL Worksheet window - the query does not start
How do I collect a dump or some kind of debug information when the above happens ?
Who can I send the information to ?How do I collect a dump or some kind of debug
information when the above happens ?Start SQLDeveloper using sqldeveloper.exe in <sqldeveloper>\jdev\bin
When sqldeveloper starts hogging cpu, go to the console window and type ctrl-break. You should get a thread dump.
Who can I send the information to ?If you have a support contract, you can raise a TAR, otherwise post the thread dump here. -
NullPointerException at startup of SQL Developer v. 1.5.1 Build MAIN-5440
Hi.
I get the exception below every time I start SQL Developer.
I cannot see any other complications this could cause but would like to know what it means.
{color:#0000ff}java.lang.NullPointerException
at com.orindasoft.app.procbuilder.sqldeveloper.navigatorobjects.Pb2Folder.list(Pb2Folder.java:106)
at com.orindasoft.app.procbuilder.sqldeveloper.jdev11g.EnhancedPb2Folder.setURL(EnhancedPb2Folder.java:173)
at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.createTypeFolderImpl(DatabaseNavigatorElementFactory.java:90)
at oracle.dbtools.raptor.navigator.impl.DatabaseNavigatorElementFactory.getTypeFolder(DatabaseNavigatorElementFactory.java:58)
at oracle.dbtools.raptor.navigator.TypeContainerFilter.createTypeFolder(TypeContainerFilter.java:145)
at oracle.dbtools.raptor.navigator.TypeContainerFilter.loadTypeFolders(TypeContainerFilter.java:120)
at oracle.dbtools.raptor.navigator.ConnectionFilter.loadChildrenImpl(ConnectionFilter.java:171)
at oracle.dbtools.raptor.navigator.TypeContainerFilter.getChildren(TypeContainerFilter.java:61)
at oracle.ideimpl.explorer.BaseTreeExplorer.addChildren(BaseTreeExplorer.java:358)
at oracle.ideimpl.explorer.BaseTreeExplorer.open(BaseTreeExplorer.java:1016)
at oracle.ideimpl.explorer.BaseTreeExplorer$4.run(BaseTreeExplorer.java:2003)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110){color}
Thanks!Apparently, you've got the OrindaBuild extension installed. Do you use it?
If you don't know what I'm talking about, this is a 3rd party trial software from Orinda Software you probably bumped into through the update center.
Better disable (uncheck) it in Preferences - Extensions.
Have fun,
K. -
Frozen SQL Developer Console on startup
Hello
Recently installed the latest version of SQLDeveloper 3.1EA on WindowsXP. Working fine initially for a few days but now on startup the console freezes and I am unable to click on any of the menu options even to close the tips of the day window. To kill the process, I have to end the SQL Developer from Task Manager
Reverted back to my previous SQLDeveloper 3.0 version, but having the same problem. The mouse simply has no effect when clicking on Tabs, Menu items etc.
My version of Java from the command line prompt is 1.6.0_10
Can any body help with this issue??
Regards
AdeWell then, perhaps it's not SQL Developer at all.
Wild guess: do you have lots of other things running simultaneously? Check your Windows Task Manager's Performance tab and see if the Commit Charge exceeds Physical Memory. It could be that your system might be doing excessive paging. Do you see how much memory the top processes are using in the Process tab? (may need to select Mem Usage and/or VM Size columns using View|Select Columns).
Good luck and remember to post your questions with 3.1EA1 in the title if the question pertains specifically to this new early adopter release.
-Gary
P.S.: And ctrl-break should work fine if you launch sqldeveloper.exe from the ...\sqldeveloper\sqldeveloper\bin directory.
Edited by: gggraham on Oct 14, 2011 9:40 AM
Maybe you are looking for
-
Get Current Index of System Ring
I need to know the index of the ring box that is currently displayed on the Front Panel during runtime. The values of the ring box don't necessarily correspond to their indices so I can't just wire the ring box itself to the DisabledItems[] property.
-
HT4759 How do I view my backed up ICloud files
How do I view my backed up iCloud files on my iPad
-
My phone is on silent but my camera still makes sound how do I turn that off ?
I have an iPhone 6 and i turned all my phone onto silent and there's no sound what so ever but once I take a picture it makes sound how do i turn it off it won't stop every time I take a picture !
-
Is it possible to replace the internal wifi antenna in a itouch 1st gen with a much stronger internal wifi antenna from a slightly newer model, such as a 2nd or 3rd generation itouch?
-
Where is Arrangement button for folder columns?
Where is Arrangement button for folder columns? It does not show on top with the other buttons like Date modified, Date last opened, etc