Q

No new connections allowed

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.

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.

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

Dig deeper on Oracle error messages

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

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:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close