Question:
I am trying to expand by shared_pool
size and I get the ORA-04033 error:
SQL> alter system set shared_pool_size=10g
ORA-02097: parameter cannot be modified because specified value
is invalid
ORA-04033: Insufficient memory to grow pool
How do I fix the ORA-04033 error?
Answer:
As the ORA-04033 message suggests, you do not have enough RAM
allocated to the SGA to allow you to create a 10 gig shared pool.
The
oerr utility shows this for the ORA-04033 error, which is not
very helpful:
ORA-04033: Insufficient memory to grow pool
Cause: The system had insufficient memory to grow the pool to
the specified size.
Action: Specify a smaller value to grow
the pool.
The ORA-04030 fix depends on your release of Oracle and you use of
the
sga_max_size parameter and whether you have deployed
Automatic Shared Memory Management (ASMM), a mechanism to
automatically morph the pool sizes depending on system load.
Automatic memory management is enabled by using the
memory_target and memory_max_target initialization
parameters.
Starting with Oracle9i, Oracle started
using
granules to
include a reserved region of RAM memory for SGA growth, and this is
the ORA-04033 limit when
sga_max_size is deployed.
Depending on your release and settings for
parameters, the remedy to fix the ORA-04033 might include:
- Reduce the size of another pool or
choose a smaller value for your pool parameter. This SGA memory
shift will avoid the ORA-04033 error when there is enough spare
RAM.
- If you also see the ORA-04031:
unable to allocate xxx bytes of shared memory, you need
to Increase the RAM on the server (if not using sga_max_xxx
parms)
- Increase
sga_max_size
and bounce the database (or use
scope=memory)
|
|
|
|
Guarantee your Success!
Oracle is the
world's most complex, robust and flexible database, considered
impossible to master without a mentor.
That's why all BC
Oracle trainers are working professionals, experts in Oracle who
share their tips and secrets. |
|
| |
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright ? 1996 - 2012
All rights reserved.
Oracle ?
is the registered trademark of Oracle Corporation.
|
|