Oracle startup error ORA-00845: MEMORY_TARGETnotsupportedonthissystem Solution

Source: Internet
Author: User

Oracle startup error ORA-00845: MEMORY_TARGETnotsupportedonthissystem Solution

Oracle start error ORA-00845: MEMORY_TARGET not supported on this system

Possible cause: the ORACLE MEMORY_TARGET parameter exceeds the memory of the oracle server.

Eg:

Oracle version: 11gR2

OS version: RedHat 6.4 Enterprise Edition

Server: Virtual Machine

Analysis steps:

1. Check that the value of the current MEMORY_TARGET parameter is *. memory_target = 408944640, which is roughly 390 M. (You can view it through spfile)

2. view the memory of the current system, which is about 200 MB.

Grep-I memtotal/proc/meminfo
MemTotal: 236376 kB

Confirm the problem:

Set the SGA parameter for oracle MEMORY_TARGET to be greater than the idle memory of the operating system.

Solution:

Modify the value of MEMORY_TARGET to a proper range (if you need to set MEMORY_TARGET memory for oracle to switch to the official environment, you need to increase the server memory, which will not be discussed at the beginning)

1. Back up existing spfile files


Cp spfilestudy. ora spfilestudy. ora. bak


2. Use spfile to create pfile (spfile is binary and cannot be directly modified). Modify pfile and generate a new spfile.


SQL> create pfile from spfile;


File created.

Modify pfile parameter *. memory_target = 104857600

SQL> create spfile from pfile;


File created.

After confirmation, start oracle


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.