Oracle.exe taking high memory
Hello,I got an error Ora-04030:-ORA-04030: out of process memory when trying to allocate 3842688 bytes (session heap,kgich) on oracle 11gr2 On windows 8.
My ram is of 16gb
sga_max_size =8g
Pga_aggregate_target=1.5g
Oracle.exe goes upto 15gb.
how it is possible?
please reply...
Simple: Oracle processes are implemented as threads within Oracle.exe. So you all of your sessions communicate with a corresponding thread in the Oracle.exe service. Evidently those threads consume memory.
A SGA of 8 Gb, 50 percent of physical RAM, looks a bit outrageous to me.
Also Windows 8? That is not even yet released! Did Oracle certify 11gR2 against Windows 8? No doubt they didn't, they never certify against newer releases!!
Sybrand Bakker
Senior Oracle DBA
Similar Messages
-
Oracle 10g OEM high memory usage
Hi,
I am using oracle 10g SR2, after start the OEM, the CPU usage 100% and somethime will have out of memory heapdump and javacore in $ORACLE_HOME. I don't know what is the problem. pls help. The below msg is the part of javacore
0SECTION TITLE subcomponent dump routine
NULL ===============================
1TISIGINFO OUTOFMEMORY received
1TIDATETIME Date: 2007/05/06 at 16:30:56
1XHENVVARS Environment Variables
NULL ---------------------
2XHENVVAR _=/u01/app/oracle/10g/jdk/bin/java.bin
2XHENVVAR TMPDIR=/tmp
2XHENVVAR LANG=en_US
2XHENVVAR CONSOLE_CFG=dbconsole
2XHENVVAR LOGIN=oracle
ThanksIs it a AIX5L Based System?
Adith -
Dear Experts,
Please help me in checking why virtual bytes in perfmon is taking more than memory we allocated.
OS
Windows Server 2003 R2 Enterprise x64 Edition Service Pack 2 (build 3790)
ORACLE
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
PL/SQL Release 11.1.0.6.0 - Production
CORE 11.1.0.6.0 Production
TNS for 64-bit Windows: Version 11.1.0.6.0 - Production
NLSRTL Version 11.1.0.6.0 - Production
Total RAM on box is 8G
Page File
Windows virtual memory equal on C,D,E,F drives is set to 12273M and allocated now is 11262M
LPENABLED is not set
SQL> show parameter pga_
pga_aggregate_target 0
SQL> show sga
Total System Global Area 5344731136 bytes
Fixed Size 2114736 bytes
Variable Size 4630514512 bytes
Database Buffers 671088640 bytes
Redo Buffers 41013248 bytes
SQL> show parameter memory
hi_shared_memory_address 0
memory_max_target 5G
memory_target 5G
shared_memory_address 0
SQL> show parameter sga
lock_sga FALSE
pre_page_sga FALSE
sga_max_size 5G
sga_target 0
Question :
Why oracle.exe is taking 8G virtual; bytes, memroy target can not go beyond 5G. How to minimized the virtual byte in perfmon
Thanks in advance your time and help.John, Thanks for the reply.
Please find the output of query
SQL> select pool,sum(bytes) from v$sgastat group by pool;
POOL SUM(BYTES)
915543216
java pool 67108864
streams pool 268503944
shared pool 2147494008
large pool 67108864
SQL>
SQL> select * from v$pgastat;
NAME VALUE UNIT
aggregate PGA target parameter 671088640 bytes
aggregate PGA auto target 147564544 bytes
global memory bound 104857600 bytes
total PGA inuse 533962752 bytes
total PGA allocated 810819584 bytes
maximum PGA allocated 1244466176 bytes
total freeable PGA memory 90243072 bytes
process count 450
max processes count 588
PGA memory freed back to OS 1.9883E+10 bytes
total PGA used for auto workareas 28210176 bytes
maximum PGA used for auto workareas 39973888 bytes
total PGA used for manual workareas 0 bytes
maximum PGA used for manual workareas 531456 bytes
over allocation count 7
bytes processed 2.6307E+10 bytes
extra bytes read/written 0 bytes
cache hit percentage 100 percent
recompute count (total) 72720
19 rows selected.
SQL>
SQL> show parameter _target
NAME TYPE VALUE
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 5G
memory_target big integer 5G
pga_aggregate_target big integer 0
sga_target big integer 0
SQL> sho parameter sga_max
NAME TYPE VALUE
sga_max_size big integer 5G -
Memory leak in oracle.exe and mds.exe
We are facing Memory leak in oue MDM server. Our environment details
are as follows;
MDM 5.5 SP5 ( Build 5.5.41.70)
Oracle 10.2 patch 2
windows server 2003 SP1
XI 7.0 SP 9
If server is running continuously 3-4 days then Nonpaged memory is
getting exausted and server does not respond. Now we have to retart the
windows server manually.
If we see the task manager it is shows more than 200,000 handles for
oracle.exe and more than 100,000 handles for mds.exe.
1: Oracle.exe -- more than 200000 handles ( Approx >5000 is problem)
2: Mds.exe -- more than 100000 handles ( Approx >5000 is problem)
Since these applications are not releasing the handles properly so all
nonpaged memory gets exausted and server stops responding.
If we restart the mdm server, database and OracleserviceMDMD, then
nonpaged memory is released. But some times even if we restart these
services, we do not get nonpaged memory released. So we have to restart
the windows server.
please help me if anyone else have faced the same problem.
regards
SaurabhClosing as question is answered in MDM forum.
-
Oracle taking more memory ?
hi
i have oracle running on solaris, sga set to 3 gb but below command showing multiple process for PRDLIVE
and taking more memory than 3GB in total, .... occasionally i see oracle shutting down due to out of memory issue ...
ps -eo pid,pmem,vsz,rss,comm | sort -rnk2 | head
18688 11.4 3381200 1859272 oraclePRDLIVE
18649 11.4 3377664 1847864 oraclePRDLIVE
18557 9.6 3377392 1553744 ora_w000_PRDLIVE
18555 9.6 3377272 1550384 ora_smco_PRDLIVE
18703 9.2 2058304 1489584 oracleTEST
14420 9.2 2065448 1494536 oracleTEST
14414 9.2 2061368 1485776 oracleTEST
18690 9.1 2052264 1483248 oracleTEST
18584 9.1 2050200 1480608 ora_w000_TEST
18515 8.1 3387888 1310160 oraclePRDLIVE
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
cat /etc/release
Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
PMON (ospid: 19876): terminating the instance due to error 490
ORA-04030: out of process memory when trying to allocate 4088 bytes (PLS CGA hp,pdz2M87_Allocate_Permanent)user9182826 wrote:
hi
i have oracle running on solaris, sga set to 3 gb but below command showing multiple process for PRDLIVE
and taking more memory than 3GB in total, .... occasionally i see oracle shutting down due to out of memory issue ...
ps -eo pid,pmem,vsz,rss,comm | sort -rnk2 | head
18688 11.4 3381200 1859272 oraclePRDLIVE
18649 11.4 3377664 1847864 oraclePRDLIVE
18557 9.6 3377392 1553744 ora_w000_PRDLIVE
18555 9.6 3377272 1550384 ora_smco_PRDLIVE
18703 9.2 2058304 1489584 oracleTEST
14420 9.2 2065448 1494536 oracleTEST
14414 9.2 2061368 1485776 oracleTEST
18690 9.1 2052264 1483248 oracleTEST
18584 9.1 2050200 1480608 ora_w000_TEST
18515 8.1 3387888 1310160 oraclePRDLIVE
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
PL/SQL Release 11.2.0.3.0 - Production
CORE 11.2.0.3.0 Production
TNS for Solaris: Version 11.2.0.3.0 - Production
NLSRTL Version 11.2.0.3.0 - Production
cat /etc/release
Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Assembled 23 August 2011
PMON (ospid: 19876): terminating the instance due to error 490
ORA-04030: out of process memory when trying to allocate 4088 bytes (PLS CGA hp,pdz2M87_Allocate_Permanent)04030, 00000, "out of process memory when trying to allocate %s bytes (%s,%s)"
// *Cause: Operating system process private memory was exhausted.
Oracle is victim; not the culprit.
Problem is at OS level & fix must be done at OS level. -
Oracle.exe consuming 10GB of total 16GB physical memory.
I am using Oracle 11g on windows 2008 R2 during utilization check of memory i found the my ORACLE.EXE is consuming 10GB of physical memory. my total physical memory size is 16GB. I am not getting why my oracle.exe is consuming so much of memory.
My SGA details are as follows :
SQL> show sga
Total System Global Area 1.0689E+10 bytes
Fixed Size 2185160 bytes
Variable Size 2046822456 bytes
Database Buffers 8623489024 bytes
Redo Buffers 16977920 bytes
Please suggest how can i reduce my memory utilization??Hii, thanks for the useful documents.
I have checked the parameter n the output is as follows
SQL> show parameter target
NAME TYPE VALUE
archive_lag_target integer 0
db_flashback_retention_target integer 1440
fast_start_io_target integer 0
fast_start_mttr_target integer 0
memory_max_target big integer 0
memory_target big integer 0
parallel_servers_target integer 128
pga_aggregate_target big integer 2G
sga_target big integer 10G
SQL> select component,current_size,min_size,max_size,user_specified_size,granule_size from v$memory_dynamic_components;
COMPONENT CURRENT_SIZE MIN_SIZE MAX_SIZE USER_SPECIFIED_SIZE GRANULE_SIZE
shared pool 1879048192 1879048192 1879048192 0 33554432
large pool 33554432 33554432 33554432 0 33554432
java pool 134217728 134217728 134217728 0 33554432
streams pool 0 0 0 0 33554432
SGA Target 1.0737E+10 1.0737E+10 1.0737E+10 1.0737E+10 33554432
DEFAULT
buffercache 8623489024 8623489024 8623489024 0 33554432
KEEP
buffercache 0 0 0 0 33554432
RECYCLE
buffer cache 0 0 0 0 33554432
DEFAULT 2K
buffercache 0 0 0 0 33554432
DEFAULT 4K
buffercache 0 0 0 0 33554432
DEFAULT 8K
buffercache 0 0 0 0 33554432
DEFAULT 16K
buffercache 0 0 0 0 33554432
DEFAULT 32K
buffercache 0 0 0 0 33554432
Shared IO
Pool 0 0 0 0 33554432
PGA Target 2147483648 2147483648 2147483648 2147483648 33554432
ASM
BufferCache 0 0 0 0 33554432
Please tell me by changing or setting which parameter i can reduce my physical memory size??? -
Oracle.exe consuming lots of memory
hi
i am using Oracle 10g release2
after installation, when i'm booting my system (Windows XP) it takes a lot of time to finish all the files to load. when i inspected the task manager, there were 2 instances or oracle.exe running each consuming approximately 200,000K each. i feel like this particular thing is slowing down the system. what are ur suggestions please ? if actually its the problem, what is the solution u propose ?user10434417 wrote:
there are 2 databases running and i've 2GB RAM in my system2gb RAM is awefully lesser compared to the current version's requirements of oracle. Also, I believe you must have not modified the sga/pga settings as well since the default values are very high. I would suggest that you try to check the sga/pga sizes and reduce them to the minimum which is 160MB for the SGA and 91MB for PGA if these databases are merely for testing/learning.
HTH
Aman.... -
Alerts from Norton re high memory usage by plugin-container.exe
Running Firefox 3.6.13 on Windows XP Pro Service Pack 3. The details from Norton are as follows:
1. Program Path C:\program files\Mozilla firefox\plugin-container.exe
2. Program Description - Plugin Container for Firefox
3. Memory - 1,676 MB used
4. Disk Write Activity - 10 MB (total for this process)
5. File Origin - Source File = updater.exe, File Created: firefox.exe,updater.exe,plugin-container.exeProbably the alerts are nothing to worry about, and you may wish to suppress that particular alert.
On a couple of old spec legacy machines I recently switched. <br>Partly because of economics, and partly because , of the two, <br> Norton can perform better (in my opinion) on legacy machines.
The first thing I did notice was that Norton does pulse updates and background tasks very frequently (configurations can be changed) by default, and flags up quite a number of alerts.
The Norton (NIS) 'Insight' facility will be flagging up firefox plugin container.exe. It can be configured to suppress the alerts from firefox plugin container, but unless disabled will probably just flag up another busy process or application. It is not flagging it up because it is a known security problem, merely because of the amount of activity.
I imagine the alerts are when you are playing videos, probably with FlashPlayer, and may well depend on the resolution/quality of the videos.
If you think the results are unusual or unexpected see:
*[[High memory usage]]
*[[Firefox consumes a lot of CPU resources]]
PS not sure what is happening with this post are some phrases unacceptable eg alternative expressions about economics; one paragraph was behaving oddly in preview resorted to manually adding break tags to keep it within the container. -
Fileserver.exe high memory usage
Hi all,
I am using BOXI3.0 installed on Tomcat & Windows Server 2003. I discover there is a high memory usage of fileserver.exe, always over 50%. After reboot the SIA, the memory usage drops back to 0. I have a regular reboot every weekend but still got that error. Anything I can check?
And in the log, AAMetrics_xxxxxxxxx.log, I found there is an error
assert failure: (d:/Titan_RTM/src/Common/export/iface\cxlib/refcount.h:89). (SNonInterlockedRead(&m_lRefCount) == 0 : no message).
Anyone knows what it is and how to solve it?
Thanks you in advanced.
GraceI am using BOXI 3.0. Do you have any recommendation on which version of fix pack? or simply upgrade to 3.1 is better?
Some people said we cannot upgrade from 3.0 to 3.1 directly, instead, we need to uninstall the BOXI 3.0 and reinstall the 3.1. Do you have any experience on it?
Many thanks. -
Oracle 9i 9.2.0.1.0 using high memory!
Hi everyone,
Im new to oracle, need some help here.
Currently i got a Solaris 8 Sparc node, installed with Oracle 9i Database. It seems to be using 98% of the memory, from the top command, can only see 53MB free out of 3GB physical memory. Any good explanation on this??
# prstat
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
327 daemon 6528K 2808K sleep 58 0 7:04.38 0.2% snmpd/4
388 oracle 2034M 1991M sleep 58 0 1:24.57 0.0% oracle/1
416 root 77M 37M sleep 58 0 0:00.07 0.0% java/53
390 oracle 1787M 1745M sleep 58 0 0:59.02 0.0% oracle/1
497 root 84M 37M sleep 40 0 0:00.00 0.0% java/24
72 root 3768K 2464K sleep 54 0 0:00.00 0.0% picld/10
1530 root 336K 248K sleep 45 0 0:00.00 0.0% sh/1
1545 root 1968K 1664K cpu0 58 0 0:00.00 0.0% prstat/1
1523 qfazram 2488K 1952K sleep 48 0 0:00.00 0.0% bash/1
397 oracle 1785M 1740M sleep 59 0 0:00.02 0.0% oracle/1
395 oracle 1785M 1740M sleep 59 0 0:00.02 0.0% oracle/1
392 oracle 1786M 1741M sleep 58 0 0:34.11 0.0% oracle/1
386 oracle 1785M 1742M sleep 59 0 0:00.17 0.0% oracle/1
384 oracle 1785M 1742M sleep 59 0 0:00.00 0.0% oracle/1
382 oracle 1785M 1743M sleep 58 0 0:06.16 0.0% oracle/1
380 oracle 1788M 1741M sleep 59 0 0:08.56 0.0% oracle/16
378 oracle 1792M 1741M sleep 59 0 0:03.10 0.0% oracle/16
376 oracle 1790M 1741M sleep 59 0 0:00.27 0.0% oracle/39
374 oracle 1786M 1741M sleep 59 0 0:00.12 0.0% oracle/1
410 oracle 15M 2992K sleep 58 0 0:15.53 0.0% tnslsnr/1
# prstat -t
NPROC USERNAME SIZE RSS MEMORY TIME CPU
45 root 854M 400M 1.8% 0:11.14 0.2%
13 oracle 21G 21G 98% 3:33.25 0.2%
2 daemon 9096K 3976K 0.0% 7:04.38 0.0%
1 echisoo 1096K 992K 0.0% 0:00.00 0.0%
1 qfazram 2488K 1952K 0.0% 0:00.00 0.0%
# vmstat
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m2 m3 in sy cs us sy id
0 0 0 3963344 165960 14 43 1 2 2 0 0 0 0 0 1 85 203 56 0 2 98
# prstat -t
NPROC USERNAME SIZE RSS MEMORY TIME CPU
45 root 854M 400M 1.8% 0:11.14 0.2%
13 oracle 21G 21G 98% 3:33.25 0.2%
2 daemon 9096K 3976K 0.0% 7:04.38 0.0%
1 echisoo 1096K 992K 0.0% 0:00.00 0.0%
1 qfazram 2488K 1952K 0.0% 0:00.00 0.0%
# vmstat
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr m0 m1 m2 m3 in sy cs us sy id
0 0 0 3963344 165960 14 43 1 2 2 0 0 0 0 0 1 85 203 56 0 2 98
#top
Memory: 3072M phys mem, 46M free mem, 4005M total swap, 3465M free swapare you having performance problems?
are you getting a lot of swapping activity?
In itself oracle useing 98% of memory is not a problem if the system is running OK, you may have issues as more connections are made and you start seeing memeory swapping. Also if you are running other application processes on the server you may have issues. Can you post the results from sybrands query.
Remember you can't save memory for later so as long as you don't run out of physical memory and start swapping to disk 98% usage is OK. -
High cpu usage by oracle.exe even when oracle instance is down
hi,
I made my oracle instance down , but in Windows Task manager , it is showing 88-90% CPU usage.This only goes off when i write net stop oracleservicemisdb from command prompt.
Help me.
Thanks
Deepak Kumar SahooNo, i don't have any other software related to oracle running on our server . We have tomcat and Weblogic server running on same machine. But oracle.exe is showing more than 75% cpu usage even when the instance is down.
thanks
Deepak Kumar -
High Memory Usage and a few other problems
I install Oracle DB 11g R1 into a Window 2003 Server virtual machine (VirtualBox) running on Ubuntu Linux. I did just a "plain jane" install accepting most, if not all, the defaults. When I start the service though, the Mem Usage shoots to @ 400 megs and there are several java.exe's that are also running each with anywhere between 80 and 130 megs. Plus, its seems that they never seem to 'settle'; Oracle.exe and one of the java.exe's are always taking up basically 100% of the processor.
This is just CRUSHING my poor little machine.
Any way to throttle these guys back? I can reinstall if needed. Its not like I've done much with it yet.
Thanks!Your 400M seems quite lightweight - probably based on a VM allocation of 1GB. You are starving the poor thing. You possibly missed this section in the Install manual before you did the install (http://download.oracle.com/docs/cd/B28359_01/install.111/b32006/reqs.htm#i1011417)
The database instance itself wants between 500M and 750M for the SGA for a minimum 'properly functioning' system.
Any user connections will want roughly 30-50M / connection, although that can vary wildly.
Enterprise Manager (DB Console), being Java (JEE) based, will gobble as much as you give it, and then some.
If you want to cut back, turn off the EM DB Console. If you do not want features, you could always perform a separate CUSTOM dbca creation without Java in the database and there are several other features that you could toss. 11g could probably limp along with as little as 350M. (You seem to be in the limping-along arena.)
And yes, the internals to Oracle Database do dictate fairly significant memory, CPU and disk (esp bandwidth) utilization. Your poor machine is being crushed because you have mismatched it to the load. -
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 -
We are observing high memory usage for each callable/prepared stmt, using 10.2.0.1.0 JDBC Driver. The char[] in oracle/jdbc/driver/T4CVarcharAccessor was alloted 64K to 320K and grows with usage. This problem is worse with 10.1.0.2. driver which was alloted 720K byte of memory for each stmt right at the start.
We found this by doing a JVM heap dump and analyzing the heap dump using IBM's heap analyser. Here is a snapshot of the heap dump for this object:
321,240 [216] 11 oracle/jdbc/driver/T4CVarcharAccessor 0x72752968
- 320,616 [320,616] 0 char[] 0x72761028
- 216 [216] 0 short[] 0x727527d8
- 72 [32] 1 java/lang/String 0x727530a0
- 24 [24] 0 int[] 0x72752938
- 24 [24] 0 int[] 0x72752948
- 24 [24] 0 int[] 0x72752958
- 16 [16] 0 bool[] 0x72752928
- 16 [16] 0 byte[] 0x727528b0
- 16 [16] 0 bool[] 0x72752918
- 10,336 [88] 15 oracle/jdbc/driver/T4CMAREngine 0x712e7128
- 1,544 [1,032] 79 oracle/jdbc/driver/T4CPreparedStatement 0x72754c58
It is repeated many times for each prepared/callable stmt call.
Details of our platform is:
Database - Oracle Database 10g Release 10.2.0.1.0 - 64bit Production
JDBC Driver - Oracle Database 10g Release 2 (10.2.0.1.0) JDBC Drivers
JDK - [Classic VM, Version 1.4.2] from [IBM Corporation]
Our callable stmts are not using any of the Oracle caching facility. It is a simple call stmt with OUT parameters and the stmt is closed after each execution. However, we implement our own connection pooling and do not close the connection after each stmt.
Is there a workaround to this? Would appreciate any feedback.What is happening is that each new CallableStatement you create allocates a new char[]. I would strongly encourage you to use the implicit statement cache if at all possible. That way instead of creating a new statement each time with a new char[] you will get an already existing statement and reuse the existing char[]. Closing a statement releases the char[] so if you really are closing the statements the char[]s should be GC'd.
Douglas -
Oracle.exe consuming 100% CPU on windows and database hang
Hi all,
every time my oracle database is hanging when the application run, the problem is the oracle.exe consum 100% CPU but not memory and the server hang and the dabase is going to inaccessible, we need to restart oracle instance service or server to bring the databas eback to normal but it's not permanent because the problem occurs once the application turn on.
Checking the log file i found the below error every time:
My database version is 9.2.0.7.0
OS: Windows 2003 Server Standard Edition Service Pack 2
RAM: 3,5Gb
CPU: Inte Xeon 3.20 GHz
ORA-00600: internal error code, arguments: [kghuclientasp_03], [0xBFEADCE0], [0], [0], [0], [], [], []
ORA-29913: error in executing ODCIEXTTABLEFETCH callout
ORA-29400: data cartridge error
KUP-04050: error while attempting to allocate 163500 bytes of memory
ORA-06512: at "SYS.ORACLE_LOADER", line 14
ORA-06512: at line 1
Fri Mar 05 05:35:15 2010
Errors in file e:\oracle\admin\optprod\udump\optprod_ora_5876.trc:
ORA-00603: ORACLE server session terminated by fatal error
ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
ORA-04030: out of process memory when trying to allocate 8389132 bytes (pga heap,redo read buffer)
ORA-04030: out of process memory when trying to allocate 8180 bytes (callheap,kcbtmal allocation)
Thank you
Lucienot.Is this a new application on this database?
Has it run well in the past?
I have had this happen before on a 32bit Windows server. Our problem was a poorly written procedure that kept pegging the cpu to 100%. You should be able to figure out what SQL is being used that is causing this problem, it will be the Top Working SQL most likely.
I also had this problem on a Logical Standby server which was trying to apply SQL to the SYS.AUD$ table. As soon as SQL Apply was started, the CPU went to 100%. Once I truncated that table, the cpu usage went back to normal. Not sure what you are using to monitor your database but if you can, try to find out what SQL is running when your CPU goes to 100%.
Maybe you are looking for
-
Error : while running OTL page.
Hi All, I am getting the below mentioned error when I clicked the 'YES' button in the Warning page which comes after clicking the Save Button in Create Timecard ( OTL) page using the customised controller code. Kindly help me to understand what caus
-
Recognizing hardware from a Windows virtual machine hosted on Linux
Hi, I would like to isntall windows in a virtual machine run from linux, and run my labview vi's and do aquisition from there. I tried once using a virtualized Windows XP 32-bit on ubuntu 64-bit, with Virtualbox, but the windows installation did
-
Acrobat 9 Pro crash problem.
Hello board, My computer just got Windows 7 installed, and now when I have a PDF and click the e-mail icon instead of simpy opening an e-mail with the PDF as an attachment, Acrobat crashes. Apparently it's because some "mail exchange" thing inside Wi
-
Mac mini only logs on to guest
I seem to have lost my admin account access....when I boot up, all I get is the guest account access. How do I get my admin account back?
-
Itunes upload error code "4002"
When I want to upload my music to the Itunes store, I get an error code "4002" What can I do about that?