Windows: Oracle Net or Connections Via the Listener Fail with TNS-12531 On Windows 64-bit Platform (Doc ID 1384337.1)

Last updated on APRIL 26, 2017

Applies to:

Oracle Net Services - Version 11.2.0.1 to 12.1.0.2 [Release 11.2 to 12.1]
Microsoft Windows x64 (64-bit) - Version: 2008 R2
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)
TNS-12531 TNS: Failed to allocate memory

Symptoms

Attempting to connect via the listener or remotely to a database running on Windows. 
The following error is thrown:Getting the error 'TNS-12531: TNS:cannot allocate memory'
It is possible that no other memory related errors are being thrown at the same time.
It is also possible that the error is fleeting or seems to correct itself.

Changes

 There are no significant changes in the environment.  It is possible that incoming traffic to the listener has increased and caused this error to occur.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms