Unable to use more than 2GB memory for Oracle in Windows 2003 [message #512204] |
Fri, 17 June 2011 09:53 |
ridhi_sundar
Messages: 184 Registered: November 2007 Location: Bangalore
|
Senior Member |
|
|
Hi all
I have a 11g database installed on a windows 2003 server. When I created the database I could not assign more than 2GB for SGA_TARGET where as I have 16GB of RAM available on the server. I created the database with SGA_TARGET as 1.5 GB and Memory_TARGET as 2GB. I could create the database successfully. Later when I again tried to increase SGA_TARGET to 6GB and MEMORY_TARGET to 8GB, I could not start the database. I got below error;
ORA-27102: out of memory
OSD-00022: additional error information
O/S-Error: (OS 8) Not enough storage is available to process this command
Quote:I added /pae in the boot.ini
Added AWE_WINDOW_SIZE key to registry as 2000000000
Set use_indirect_data_buffers=true
added db_block_buffer=131072 (ie. 2GB DB_BLOCK_SIZE=16kb)
java_pool_size= 1000M
large_pool_size=1000M
shared_pool_size=2000M
I got again the same error
Can some one please help me?
I could not use SGA_TARGET. So is AMM not allowed with AWE?
|
|
|
|
|
|
|
Re: Unable to use more than 2GB memory for Oracle in Windows 2003 [message #513195 is a reply to message #512457] |
Fri, 24 June 2011 05:44 |
ridhi_sundar
Messages: 184 Registered: November 2007 Location: Bangalore
|
Senior Member |
|
|
SQL> select * from V$version;
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
My IP FILE:
Quote:opaprod.__oracle_base='D:\Oracle\oc4.6'#ORACLE_BASE set from environment
*.audit_file_dest='D:\Oracle\oc4.6\admin\OPAPROD\adump'
*.audit_trail='db'
*.compatible='11.1.0.7.0'
*.control_files='D:\Oracle\oc4.6\Oradata\OPAPROD\control01.ctl','D:\Oracle\oc4.6\Oradata\OPAPROD\control02.ctl','D:\Oracle\oc4.6\Orad ata\OPAPROD\control03.ctl'
*.db_block_size=16384
*.db_domain='takesolutions.com'
*.db_name='OPAPROD'
*.db_recovery_file_dest='D:\Oracle\oc4.6\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='D:\Oracle\oc4.6'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=OPAPRODXDB)'
*.log_archive_dest_1='LOCATION=E:\Archive'
*.log_archive_dest_2='LOCATION=\\172.25.3.10\Oracle\OCArch'
*.log_archive_format='ARC%S_%R.%T'
*.memory_max_target=6000M
*.memory_target=6000M
*.nls_date_format='DD-MON-RRRR'
*.open_cursors=1000
*.optimizer_features_enable='9.2.0'
*.optimizer_mode='CHOOSE'
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.remote_os_authent=TRUE
*.sessions=200
*.sga_max_size=4000M
*.sga_target=4000M
*.undo_tablespace='UNDOTBS1'
*.utl_file_dir='D:\opapps\xmltemp'
I am facing the same error:
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-27102: out of memory
OSD-00029: additional error information
O/S-Error: (OS 8) Not enough storage is available to process this command.
SQL>
|
|
|
|
|
Re: Unable to use more than 2GB memory for Oracle in Windows 2003 [message #513350 is a reply to message #513198] |
Sun, 26 June 2011 23:48 |
ridhi_sundar
Messages: 184 Registered: November 2007 Location: Bangalore
|
Senior Member |
|
|
With below parametersQuote:opaprod.__oracle_base='D:\Oracle\oc4.6'#ORACLE_BASE set from environment
*.audit_file_dest='D:\Oracle\oc4.6\admin\OPAPROD\adump'
*.audit_trail='db'
*.compatible='11.1.0.7.0'
*.control_files='D:\Oracle\oc4.6\Oradata\OPAPROD\control01.ctl','D:\Oracle\oc4.6\Oradata\OPAPROD\control02.ctl','D:\Oracle\oc4.6\Orad ata\OPAPROD\control03.ctl'
*.db_block_size=16384
*.db_domain='takesolutions.com'
*.db_name='OPAPROD'
*.db_recovery_file_dest='D:\Oracle\oc4.6\flash_recovery_area'
*.db_recovery_file_dest_size=2147483648
*.diagnostic_dest='D:\Oracle\oc4.6'
*.dispatchers='(PROTOCOL=TCP) (SERVICE=OPAPRODXDB)'
*.log_archive_dest_1='LOCATION=E:\Archive'
*.log_archive_dest_2='LOCATION=\\172.25.3.10\Oracle\OCArch'
*.log_archive_format='ARC%S_%R.%T'
*.nls_date_format='DD-MON-RRRR'
*.open_cursors=1000
*.optimizer_features_enable='9.2.0'
*.optimizer_mode='CHOOSE'
*.processes=150
*.remote_login_passwordfile='EXCLUSIVE'
*.remote_os_authent=TRUE
*.sessions=200
*.undo_tablespace='UNDOTBS1'
*.utl_file_dir='D:\opapps\xmltemp'
USE_INDIRECT_DATA_BUFFERS=TRUE
*.DB_BLOCK_BUFFERS=200000
*.JAVA_POOL_SIZE=50M
*.LARGE_POOL_SIZE=50M
*.SHARED_POOL_SIZE=1000M
I am getting error
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-27100: shared memory realm already exists
@ Michel
I cannot use SGA_TARGET and MEMORY_TARGET with "use_indirect_data_buffers=true". It gives below error.
SQL> startup
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORA-00385: cannot enable Very Large Memory with new buffer cache parameters
|
|
|
|
|
|
|
|
|
|
|
Re: Unable to use more than 2GB memory for Oracle in Windows 2003 [message #513847 is a reply to message #513843] |
Wed, 29 June 2011 12:20 |
ridhi_sundar
Messages: 184 Registered: November 2007 Location: Bangalore
|
Senior Member |
|
|
@Blackswan
I am extremely sorry for my previous post.
My instance is down. I edited the parameter file and tried to start it. It did not start and errored with ORA-27100. So there is no failed instance. Correct me if I am wrong.
How to clean the failed instance? Will a system reboot work? I think I have tried rebooting and it did not work. Still I will try it again tomorrow once I will be at work.
Thanks
|
|
|
|
|
|
Re: Unable to use more than 2GB memory for Oracle in Windows 2003 [message #515421 is a reply to message #513906] |
Mon, 11 July 2011 08:44 |
mkounalis
Messages: 147 Registered: October 2009 Location: Dallas, TX
|
Senior Member |
|
|
You need to read the docs Ridhi. You can not use db_block_buffers with pae. With 32-bit windows all your apps can see only 4gb of ram natively. There is a switch in the boot.ini you can set to allow your apps to use three of the four gigabytes of ram that a process can see, otherwise you really only have two gigs of ram usable per process because the os maps the other two. As has been suggested, go back to your original settings to get the database to fire back up. The only real way you can use the memory efficiently in windows is to migrate your box to 64-bit if it is capable. Docs.oracle.com has detailed documentation on how to configure pae in windows and what your limitations are.
|
|
|