# listener.ora Network Configuration File: C:\oracle\product\10.2.0\db_1\network\admin\listener.ora
# Generated by Oracle configuration tools.SID_LIST_LISTENER =
  (SID_LIST =
    (SID_DESC =
      (SID_NAME = PLSExtProc)
      (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
      (PROGRAM = extproc)
    )
  )LISTENER =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 机器名)(PORT = 1521))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    )
  )
网站上经常会报错ORA-12560 有时会出现ORA-04030 错再出现ORA-12560 错请问这是什么问题,要怎么解决呢。谢谢

解决方案 »

  1.   

    ORA-04030: out of process memory when trying to allocate string bytes (string,string) 
    Cause: Operating system process private memory has been exhausted
    Action: none简单看是内存问题,但是也可能是其他问题FYIhttp://forums.oracle.com/forums/thread.jspa?threadID=616214
      

  2.   

    ORA-04030 out of process memory when trying to allocate string bytes (string,string)Cause: Operating system process private memory has been exhausted.Action: See the database administrator or operating system administrator to increase process memory quota. There may be a bug in the application that causes excessive allocations of process memory space.
      

  3.   

    你的的SQL语句没有做绑定变量(bind variable),做好绑定变量,这个问题就解决了
      

  4.   

    1.监听服务没有起起来。windows平台个一如下操作:开始---程序---管理工具---服务,打开服务面板,
    启动oraclehome92TNSlistener服务。
    2.database instance没有起起来。windows平台如下操作:开始---程序---管理工具---服务,打开服务
    面板,启动oracleserviceXXXX,XXXX就是你的database SID.
    3.注册表问题。regedit,然后进入HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0将该环境变量ORACLE_SID设置为XXXX,XXXX就是你的database SID.或者右几我的电脑,属性--高级--环境变量---系统变量--新建,变量名=oracle_sid,变量值=XXXX,XXXX就是你的database SID.或者进入sqlplus前,在command line下输set oracle_sid=XXXX,XXXX就是你的database SID.
      

  5.   

    修改这个系统参数可以缓解报内存出错:alter system set cursor_sharing=SIMIlAR scope=both; (这是数据库系统自动为你做绑定变量)但是最好是程序做变量绑定,系统自动做对性能有一些负作用