Size of oracle.exe
Hi,
I have installed Oracle8i (8.1.7) for NT. I sized SGA to require about 15MB. But when the instance initiates, the oracle.exe process is getting about 30MB of memory! Do you know the reason??
Thanks in advanced,
Carlos
If you are running 32-bit Windows, then it doesn't matter that you've got 8GB physically in the box: that's a common over-configuration. A 32-bit Windows system can only see 4GB of RAM -and only 2GB of that is available to user-mode programs like Oracle.
If you use a /3GB switch, you can let user-mode programs see 3GB instead of 2GB. But that's your lot.
Unless you are also using a /PAE switch, though that has interesting interactions with the /3GB switch and everything else!
Let's assume you're using a bog-standard Windows environment with no odd boot-time switches. That means 2GB is your limit. And that's for everything Oracle might want to use it for: PGA and SGA alike. I don't know how big your PGA needs to be, but assume a worst-case: allow 50% for the PGA, and 50% for the SGA. That means your SGA_MAX_SIZE parameter should be no bigger than 1GB.
For some reason, you say this sort of thing is "not an option". That's fine: but then you live with the massive swapping to disk that will ensue if you don't keep within bounds. Your choice, really.
From memory, LOCK_SGA does indeed work. But if you're locking into memory an over-allocation of SGA, you'll just be making your paging problems worse.
Similar Messages
-
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 -
Current consumption of RAM by oracle.exe
Actualy what I need is the current /changing value of the memory consumed by oracle.exe.Is this information is achievable from the database itself? If yes then how?If no then is there any indirect way of achieving it.
Apart from that I want to know if there is any parameter available in database which gets changing depending on database usage(load)
Please Help.
AD> What ever be the case..there must be some memory consumed by the oracle
process/processes collectively which keeps changing depending on the workload/usage
SGA is static. PGA is dynamic. UGA can reside in either the SGA (shared server connections) or in the PGA (dedicated server connections).
Memory does not simply grow and grow because of workload. The db cache is a set size in the SGA. There's only so much space in the large pool in the SGA for the UGA's of shared server connections - Oracle will not just simply grab more memory from the o/s to use if it runs out.
The only exception is PGA. PGA is dynamic. Thus a PL/SQL program running in a process (shared or dedicated) can attempt to allocate GB's of dynamic memory for scalar variables - but that is a result of very poor programming and nothing to do with workloads.
Again, look at the Concepts Guide and at the chapter explaining how the Memory Model of Oracle works. It seems to me that you are operating under misconceptions based on the questions you ask ito Oracle, memory utilisation and workloads.
For example, Oracle does not have Lock Manager and locks are not kept in memory. The lock overheads for a billion total locks on the database is the same as the lock overheads for a single lock - none! There are no overheads ito of memory in this case.
Another example. Lack of memory in the shared pool. 99.9% of the time this is not because of insufficient memory for the shared pool when hitting ORA-04031 errors. In fact, adding more memory is the wrong thing to do. The fix is simple. Use Oracle correctly - use the shared pool correctly - use sharable SQL! (which means using bind variables)
Oracle is not SQL-Server.
If you can specifically state the details of problem (and not what you think the solution should be - monitoring memory consumption), we can add some value to this. -
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.... -
Command for "How to find Cursor Size" in Oracle Stored Procedure"
Hi
Can u tell me....
How to find Cursor Size" in Oracle Stored Procedure........
I want command for that........why don't you try select count(*) from your_table;That requires running the same query twice - or rather running two different queries twice. Besides it still doesn't guarantee anything, because Oracle's read consistency model only applies at the statement level (unless you're running in a serialized transaction).
This is such a common requirement - users are wont to say "well Google does it" - it seems bizarre that Oracle cannot do it. The truth is that that Google cheats. Firstly it guesses the number on the basis of information in its indexes and refines the estimate as pages are returned. Secondly, Google is under no onus to kepp all its data and indexes synchronized - two simultaneous and identical queries which touch different Google servers can return different results. Oracle Text works the same way, which is why we can get a count with CTX_QUERY.COUNT_HITS in estimate mode.
Cheers, APC
blog: http://radiofreetooting.blogspot.com
. -
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 -
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.
-
Suggested data file size for Oracle 11
Hi all,
Creating a new system (SolMan 7.1) on AIX 6.1 running Oracle 11.
I have 4 logical volumes for data sized at 100gb each. During the installation I'm being asked to input the size for the data files. The default is "2000mb/2gb" is this acceptable for a system sized like mine, or should I double them to 4gb each? I know the max is 32gb per data file but that seems a bit large to me. Just wanted to know if there was a standard best practice for this, or a formula to use based on system sizing.
I was not able to find any quick suggestions in the Best Practices guide on this unfortunately...
Any help would be greatly appreciated.
Thanks!Ben Daniels wrote:
Hi all,
>
> Creating a new system (SolMan 7.1) on AIX 6.1 running Oracle 11.
>
> I have 4 logical volumes for data sized at 100gb each. During the installation I'm being asked to input the size for the data files. The default is "2000mb/2gb" is this acceptable for a system sized like mine, or should I double them to 4gb each? I know the max is 32gb per data file but that seems a bit large to me. Just wanted to know if there was a standard best practice for this, or a formula to use based on system sizing.
>
> I was not able to find any quick suggestions in the Best Practices guide on this unfortunately...
>
> Any help would be greatly appreciated.
>
> Thanks!
Hi Ben,
Check the note 129439 - Maximum file sizes with Oracle
Best regards,
Orkun Gedik -
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%. -
Too many trace files generated by program ORACLE.EXE (J001) in "bdump"
Hi,
Please help!
the following trace file messages have been created in my "bdump" folder about every 6 minutes, so it generates about 200 files per hours. Can someone tell me how to solve the error or stop the trace files be generated. Thanks.
Windows thread id: 5520, image: ORACLE.EXE (J001)
*** 2009-05-22 12:49:21.372
*** ACTION NAME:() 2009-05-22 12:49:21.372
*** MODULE NAME:() 2009-05-22 12:49:21.372
*** SERVICE NAME:(SYS$USERS) 2009-05-22 12:49:21.372
*** SESSION ID:(312.292) 2009-05-22 12:49:21.372
java.io.IOException: service early exit: code=1 : err=The system cannot find the path specified.
: out=
at oracle.wh.runtime.server.Util.execRuntimeService(Util.java:122)
CJNo version number and not enough information in what you posted to help you.
Did this just start?
If so what actions preceded it?
Or is this a new install?
Have you tried bouncing the instance?
If it were my system I would have already searched the knowledgebase at metalink and opened an SR if I couldn't find a solution. Did you? -
What is limit of database size in oracle 10g standard edition/edition one
Hai All,
What is the limit of database size in oracle 10g standard edition and standard edition one.. I see the white paper of oracle says that the limitation is 500 GB. This limitation is correct.? if correct then what happened after the limit..?
Please help?
ShijuWhat white paper would that be? I can't see any limit in the Oracle Database 10g Editions comparisons.
C. -
How to check image size in oracle 9i & 10g database
hi,
i have inserted an Image into a table in oracle database & I want to View the Query How to check image size in oracle 9i & 10g database
thanks
Edited by: user8920919 on May 30, 2010 1:43 AMuser8920919 wrote:
hi,
How to check image size in oracle 9i & 10g database
thanksWhat do you mean with "image size"? -
How can i increase sga size in oracle 10g
Hello friends
how can i increase my sga size in oracle 10g
Regards
Vicky
Edited by: Vignesh Chinnasamy on 31-Jul-2012 02:28HI
**SQL> Show parameter sga ;**
NAME TYPE VALUE
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 2G
sga_target big integer 2G
**SQL> show parameter memory;**
NAME TYPE VALUE
hi_shared_memory_address integer 0
shared_memory_address integer 0
**[root@mte ~]# ulimit -a**
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 278528
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
*[root@mte ~]#* -
Give me the sql query which calculte the table size in oracle 10g ecc 6.0
Hi expert,
Please give me the sql query which calculte the table size in oracle 10g ecc 6.0.
RegardsOrkun Gedik wrote:
select segment_name, sum(bytes)/(1024*1024) from dba_segments where segment_name = '<TABLE_NAME>' group by segment_name;
Hi,
This delivers possibly wrong data in MCOD installations.
Depending on Oracle Version and Patchlevel dba_segments does not always have the correct data,
at any time esp. for indexes right after being rebuild parallel (Even in DB02 because it is using USER_SEGMENTS).
Takes a day to get the data back in line (never found out, who did the correction at night, could be RSCOLL00 ?).
Use above statement with "OWNER = " in WHERE for MCOD or connect as schema owner and use USER_SEGMENTS.
Use with
segment_name LIKE '<TABLE_NAME>%'
if you like to see the related indexes as well.
For partitioned objects, a join from dba_tables / dba_indexes to dba_tab_partitions/dba_ind_partitions to dba_segments
might be needed, esp. for hash partitioned tables, depending on how they have been created ( partition names SYS_xxxx).
Volker
Maybe you are looking for
-
Guys Plz help me......its urgent
Hi, I created a project with name "tech" n Enterprise application project name "techEAR".I am using RAD. i placed JSF related jars in tech/WebContent/ WEB-INF/lib folder.and placed my application related jars in techEAR. And i selected all my applica
-
Syncing itunes with music folders
is there a way that i can download music into a folder and have it automatically be added into itunes so i dont have to have use the add file to library feature every time i download music?
-
Here is what I want to do: I want to send the terminal command to 25 laptops all at once to direct them to our internal server for software update. I know how to log in to all of the machines at once. osascript -e 'tell application "System Events"' -
-
I did something and now I don't have the tool bar
I installed version 4 of Safari, which was great at first, I right clicked the tool bar to do something and clicked hide/remove tool bar and now I can't figure out how to get it back... Please help.
-
Hello, I'm trying to configure Novell eDirectory v 8.7 on BO XI R3.1 Windows platform and successfully configure the secLdap plugin. However when I tried to map Mapped LDAP Member Groups by adding the LDAP group (by cn or dn) , I always get the follo