SQL Developer 1.2 A Memory Hog
Anybody else seen SQL Developer 1.2 (1.2.0.2998) use GIANT amounts of memory?
Query Analyzer for SQL Server did most of what I want (on a SQL platform, of course) SQL Developer to do (on Oracle, of course) with 1/10th of the memory.
Right now for me SQL Developer is using 336,928 KB (that's 340 MB!!!) of memory, with a peak memory usage of about 380MB. I'm running on Windows XP SP2.
I've turned off Completion Insight after reading various comments on the web, which helped a bit, but 330MB is still huge.
Thanks,
Josh
Hi,
SQL Developer is build on Java.
Since it is build on Java, we can use this tool on any platforms (Windows, Linux, Solaris, and even Macintosh as long there is Java Virtual Machine available).
That is the superiority of Java application.
However, Java based application is usually a memory consumable application which they said to have a garbage collector for the memory de-allocationing,.but it still consumes lots of memories though.
For the time being, I try to close the SQL Developer once it consumes huge memories and start it again.
It helps for releasing such amount of memories.
Regards,
Buntoro
Similar Messages
-
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? -
SQL Developer 3.0/3.1 64 Bit Memory Setting
Hi,
To avoid hitting memory setting issues with SQL Dev 3.0/3.1 64 bit clients, you can make the following changes:
1) Close SQL Developer
2) Locate the sqldeveloper.conf file
Found in directory:
C:\<SQLDeveloper32\sqldeveloper\sqldeveloper\bin
3) Change the following line
Before:
AddVMOption -XX:MaxPermSize=128M
After:
AddVMOption -XX:MaxPermSize=256M
4) Launch SQL Developer
A memory issue of this sort will generally result in non-responsive UI behavior.
You can verify that you are hitting this issue by launching the console window version of SQL Developer and checking for memory exceptions.
C:\SQLDeveloper30-64RTMPatch1\sqldeveloper\sqldeveloper\bin\sqldeveloper.exe
A bug has been filed change this setting.
Thanks, MarkSQL Developer itself will work with a 64-bit JDK. It is possible that the data modeler still requires a 32-bit JDK.
You may get better answers in the dedicated Data Modeller forum. -
Sql Developer is working very slow and it's making other applications slow
I am using SQL Developer 1.5.1.54.40.
Sometimes it hangs. Sometimes the space key doesn't work in the sql sheet.It's overall performance is slow. And i have found it slows down other applications to open and close. I have 1GB RAM.
Please tell me is it the problem of SQL Developer or my PC?I have seen the "Automatically Check for Updates" option significantly slow down the start of up SQL Developer when it is switched on. You might want to see if switching that off (Tools > Preferences > Extensions) makes a difference to start up time.
SQL Developer's not insignificant memory usage may cause problems if it takes you beyond your physical memory, which typically slows down opening, closing and switching between applications. This is when you need to look at the task manager (assuming windows) as per the previous suggestion.
theFurryOne -
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 -
Double the memory usage in SQL Developer 1.5 vs 1.2.1
I have observed that SQL Developer 1.5 uses at least twice the amount of RAM than 1.2.1 when performing the same functions. This seems rather inefficient. I am merely opening the application and opening a single connection, where 1.2.1 uses ~60MB RAM, while 1.5 uses ~110 - 150MB ram. Is something wrong here, or is the enhancing of the GUI in 1.5 just using up mad RAM? Can this be cleaned up somehow? Thanks.
I agree I have noticed 1.5 is very taxing on my machine.
1.51 5440
XP 1 GB RAM
According to Task Manager, Mem Usage is 6.5 mb, and VM is 240 meg, this is one database connection and editing one function.
I know memory issues were brought up in other versions but it seems it is getting worse not better. I wish Oracle would acknowledge the issue. -
SQL Developer 1.2.1 Build MAIN 32.13 (Windows XP)
We can't Update SQL Developer with Times Ten in-Memory DB Extension 1.2.1.1.0 :-((
We did the same actions as described in tutorial
http://www.oracle.com/technology/products/timesten/viewlets/tt703_sqldev_install_ext_viewlet_swf.html
In addition to tutorial we have "Log In" window
"To download Oracle Times Ten in-Memory Database Extension
you must enter your Oracle Web Account user name and password"
This window was not displayed in tutorial...
We try to use three our OTN accounts and the result
was the same - we was asked with "User name" and "Password"
again, again, again and again,,, :-(
Is it a bug or a feature?
Mayby we didn't understand something or did something wrong?Hi Simon,
I found cause of update failure! It was the HTTP proxy setting.
I turned off "Use HTTP proxy server" checkbox in SQL Developer -> Tools -> Preferences -> Web Browser and Proxy.
After this action SQL Developer was successfully updated with Times Ten Extension.
Valery Yourinsky -
SQL Developer - 1.5.5.59.69 - XP - Memory Leak
I am running SQL Developer 1.5.5.59.69 in XP and I am having an issue with what seems to be a memory leak. I left SQL Developer running over night, and when I looked at the task manager, the memory usage was really high, and each time task manager refreshed, the memory usage was going up by a few KB.
Is this issue known by the development team?
KurzYes, and has been happening since day 1, for almost anyone trying the same.
No idea is dev is planning to fix this. Only way to have it tracked is logging a SR through Metalink/MOS.
Regards,
K. -
SQL Developer 3.2.09 and excess memory usage
This is really something that will ultimately end up as a bug-fix request, I'm thinking, but I was wondering if anyone else is seeing the same thing, before I report it.
We're using SQL Developer 3.2.09 in a Citrix environment, and we're finding that it's using up an inordinate amount of memory, causing performance problems for anyone else with applications open on the server. We haven't seen any patterns so far ... like if it's a side-effect of having the tool open for long periods of time (memory leak), or if certain activities within the tool are prone to using up too much memory.
Has anyone else experienced the same thing when running SQL Developer on their desktop, or in Citrix? And have you been able to tune it at all?
Thanks,
--=ChuckSQL Developer is java based and relies on the jvm's memory management.
I'm not aware of any memory leaks as such, but memory tends not to be returned to the system.
Queries which return large return sets tend to use a lot of memory (SQL Developer has to build a java table containing all the results for display).
You can restrict the maximum memory allocated by modifying settings in in <sqldeveloper>\ide\bin\ide.conf
The defaults are -
AddVMOption -Xmx640M
AddVMOption -Xms128M -
We have SQL Developer installed on our Citrix farm and we are facing hard times right now. Unfortunately SQL Developer is consuming in some cases more than 650 MB/session. And since we have on each site more than 50 users in same time, server gets exceeded very fast. Currently server is running Windows 2003 R2 edition x86. We know that this is bad and we are planning on switching on Windows Server 2008 R2. And here comes my questions:
Will Windows Server 2008 R2 work more effectively with Java x64 and SQL Developer x64 and resolve our memory issues?
Thank you.Hi,
I have no idea if Windows Server 2008 runs Java applications better than 2003 but, regardless of which you run, here are a couple of ideas that may be of help:
1. x32 Java/SQL Developer starts up with a smaller working set (246,000 KB) than x64 Java/SQL Developer (318,000 KB).
2. Try tweaking the garbage collection algorithm, using Garbage-First:
Re: Memory Leak or Bad Java Garbage Collector
I ran across this (old) comment from a blog on blogs.msdn.com:
Even though Windows Server 2008 R2 is exclusively a 64-bit operating system, 32-bit applications are
supported by enabling the WoW64 optional feature. If this feature is not enabled and you try to run a
32-bit application, the application will fail to execute. The WoW64 execution layer is an optional component
that is installed by default on R2 releases after beta1. You can save resources by removing the feature if
you are not going to be running 32-bit applications on your Server Core install. Regards,
Gary
SQL Developer Team -
SQL Developer 3.1 out of memory
I new to SQL developer and I been trying to copy data between servers and i run out of memory a lot of times.
And i see that it happens with tables with more than 1 mill rec and got clob etc in it.
I had to write my own program to handle it and i found on the way i got the same problem in the beginning.
So my question is there a setting where i can tell the source (maybe the master also ) internal cursor to refetch the current position after say 10k records. I found doing that releases the memory of the inserted records so i can can continue to add more.
Im running a fetch rownumber on master and reset the source every 20k record so i hit maybe 120 meg memory usage and if i did not do that i seen the memory go up to 2 gig and im only running the server and the app at 4 gig so I crashed all the time.
By using this in my program I have copied 60 tables and 6 gig+ of data and no crash.
Thanks,
RogerYes it's helpful so you dont have to use the command prompt to create a dump file.
I was using the Database Copy to avoid having to move files to other server that i might not have system access to, only DB access.
I'm pretty new at using Oracle and I have one DB that needs to move data to other DB without having to write a extra program for it. It also seems that DBLinks does not handle blob/clob either and setting up a stream might not be available.
Thanks,
Roger -
Hello
I was running a query with output of around 9 lakh records. I did this with Toad earlier and now I tried with SQL Developer.
I found a difference like this.
When in toad the records were being fetched the memory used by Toad was not getting increased as shown in the Task manager processes. While the PF Usage was getting increased which I understand is SWAP file. When all the rows were received this increase was approximately same as the file I created after exporting that data.
In case of SQL Developer the memory used by SQL developer itself goes on increasing.
Will this have impact on machines actual RAM being used ?
or In other words is Toad using swap memory directly rather than consuming RAM for saving file output ?
Regards
SanjeevI believe the difference could be that toad fetches each record and automatically flushes it to the output file while SQL Developer might keep all the records in memory or use a different file handling method. Basically what you said sounds as a reasonable assumption.
-
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. -
SQL Developer Memory Footprint
We're looking at replacing around 200 TOAD licenses with SQL Developer. The only technical concern is the memory footprint, as in many cases it would be run from a terminal server with dozens of people logging on. A VM Size of 150MB seems to be not unusual for SQL Developer, and that all adds up of course.
Are there any recommendations for reducing the memory footprint, or at least not letting it get much higher than 150? Features that can be turned off by default, versions of JDK, etc?Hi,
The memory consume is quite worrying.
However change the code into VB / Delphi will lose its availability as Java's write once run anywhere. :-)
You won't be able to use this tool on Solaris, Linux, and Mac without changing the code and compiler. Thus would be less acceptable.
I wonder if limiting SQL Dev's initial class load would give impact on memory consume.
And why it seems that Java's garbage collector didn't do any collecting since the memory gets higher and higher time by time.
Or maybe the code doesn't allow the object's become collectable?
I ever get memory reach up to 500MB after doing a canceled Export Wizard for USER.
But..... memory would never come down.
Regards,
Buntoro -
SQL Developer consumes a lot of memory
Sql developer consumes a lot of RAM (around 100 MB) few minutes after start of application . any tips to reduce this?
This is usually due to the caching of database objects on support of code insight and is dependent on the number of objects in the database. As documented in the readme.txt in the sqldeveloper home directory, you can disable code insight.
2.1 To disable Code Insight
Run SQL Developer from a command line using the following statement:
Windows : sqldeveloper -J-Dsdev.insight=false
Linux or Mac: Run sh sqldeveloper -J-Dsdev.insight=false
or edit sqldeveloper.conf and add "AddVMOption -J-Dsdev.insight=false"
Maybe you are looking for
-
ESB Error Hospital and Rejection Handlers
Hi, I am getting confused with ESB Error Hospital and ESB Rejection Handlers? Can anyone of you explain me what is this? Thanks, Gomathi
-
i downloaded firefox to see if it would load a website i was trying to go on, but it didn't so now i want to delete it off my macbook, i have tried to drag it from the applications and drag it to the trash bin but i would not go. i'm desperate can an
-
Trying To Re-Install OS X on MBP C2D 2.4-17"
I'm using a MBP 2.16-15" Core 2 Duo with 3Gb Ram, OS X 10.4.10 I am trying to re-install OS X on my friends MBP C2D 2.4-17" OS X 10.4.10 using MY Install DVD's as he forgot his! (My DVD OS V 10.4.8, AHT V 3A116, Disc V 1.0) His MBP keeps coming up
-
HELP! Viewer builder won't accept my adobe ID!
I'm using the same Adobe ID (which is the only one that I've used since the beginning of the process) to open the viewer builder and everything in DPS and this screen won't accept it. Is this a common issue? I already uninstalled it and installed it
-
I amtrying to install pandora client on iPod touch 8 gb. It does not install app
I am trying to install Pandora's client on iPod Touch from the app store (I also tried from pandora's website). It asks for my apple ID and password, starts dowloading but does not install the app.It does not give me any error messages. I have more t