环境:oracle的版本:8.1.6jdbc是用classes12.zip

解决方案 »

  1.   

    ORA-04031 unable to allocate string bytes of shared memory ("string","string","string","string")Cause: More shared memory is needed than was allocated in the shared pool.Action: If the shared pool is out of memory, either use the DBMS_SHARED_POOL package to pin large packages, reduce your use of shared memory, or increase the amount of available shared memory by increasing the value of the initialization parameters SHARED_POOL_RESERVED_SIZE and SHARED_POOL_SIZE. If the large pool is out of memory, increase the initialization parameter LARGE_POOL_SIZE. 增大数据库的init.ora文件中的SHARED_POOL_SIZE参数的值
    重新启动数据库.
    svrmgrl
    connect internal/oracle
    shutdown immediate
    startup
      

  2.   

    你的init.ora文件中的SHARED_POOL_SIZE参数设置的太小了。