totn Oracle Error Messages

Oracle / PLSQL: ORA-00023 Error Message

Learn the cause and how to resolve the ORA-00023 error message in Oracle.

Description

When you encounter an ORA-00023 error, the following error message will appear:

  • ORA-00023: session references process' private memory; cannot detach session

Cause

You tried to detach a session but it contains references to the process memory (PGA) through any of: an open network connection, a very large context area, or operating system privileges.

Resolution

The option(s) to resolve this Oracle error are:

Option #1

If the session has an open network connection or a very large context area, you can try closing the session's database links and cursors.

Option #2

If the session has operating system privileges, you will not be able to detach the session.