Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ORA-04031:unable to allocate 140 bytes of shared memory.

929791Apr 23 2012 — edited Apr 24 2012
Hi there~
I know that the 4031 error is not a new issue, but somehow I can't find a best solution from thousands lines of suggestions and articles. Since I'm new to ORACLE, I'm really baffled by those complicated answers. My problem is: I'm trying to register a xml schema in xml db, then the error 04031 props. My databas version is 11g R2 express edition. And I've read the "express edition 2 day", which seems to suggest that "simply altering sga target/pga will solve the problem". I did as follow:

ALTER SYSTEM SET pga_aggregate_target =300M;
ALTER SYSTEM SET sga_target = 600 M;

I don't know how to set those parameters, and the default "shared pool size" is "0". After I've done this, the error 04013 still there.

Could anyone kind enough to show me a clear way to conifigour all these values ??? Thanks a million!
This post has been answered by Fran on Apr 24 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2012
Added on Apr 23 2012
33 comments
5,086 views