At peak database activity times, we are experiencing periods when no more new connections to the database can be made. Typically when the number of connections reaches about 200, no newer connnections are allowed. The max number of sessions is set at over 300, so there is no problem there. No error message is returned; the only error is in the listener log, where I get:
TNS-12531: TNS:cannot allocate memory
There is plenty of memory in the server (8 GB), which is running Windows 2003 Enterprise and Oracle 9.2, so I do not know which pool/group of memory it is refering too.

The server is currently set in dedicated mode, but I am thinking of changing it to shared to see if this helps. Any ideas would be appreciated.

    Requires Free Membership to View

The first thing that I check is the "processes" and "sessions" initialization parameter.

As for memory, if you are running 32-bit Oracle on Windows with 8 gig, then your SGA cannot be more than 2 gig unless you are using 4GT or AWE.

Metalink says this about the TNS-12531 error: "The issue here seems to be that we are running out of desktop heap memory. Please refer to Bug 3186475. This problem may happen if you are running a lot of Windows services which consume same default desktop heap."

This was first published in November 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: