ORA-04030: 在尝试分配 8192 字节 (sort subheap,sort key) 时进程内存不足;操作系统boot.ini文件里已经有 /APE ;
OS信息:                       
                                                                              
主机名:           HPPC
OS 名称:          Microsoft(R) Windows(R) Server 2003, Enterprise Edition
OS 版本:          5.2.3790 Service Pack 2 Build 3790
OS 制造商:        Microsoft Corporation
OS 配置:          独立服务器
OS 构件类型:      Multiprocessor Free
注册的所有人:     hp
物理内存总量:     16,374 MB
处理器:           安装了 16 个处理器。
                  [01]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [02]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [03]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [04]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [05]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [06]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [07]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [08]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [09]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [10]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [11]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [12]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [13]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [14]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [15]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
                  [16]: x86 Family 6 Model 44 Stepping 2 GenuineIntel ~2399 Mhz
BIOS 版本:        HP     - 2
可用的物理内存:   13,191 MB
页面文件: 最大值: 18,170 MB
页面文件: 可用:   14,059 MB
页面文件: 使用中: 4,111 MB
页面文件位置:     C:\pagefile.sys数据库信息:Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Prod
PL/SQL Release 10.1.0.2.0 - Production
CORE 10.1.0.2.0 Production
TNS for 32-bit Windows: Version 10.1.0.2.0 - Production
NLSRTL Version 10.1.0.2.0 - Production
我试过的方法有:1、减小pga大小, 现在是400M;
2、修改oracle与os的内存 在boot.ini 下加入了 /3GB 此步就有问题导致服务器出现缺少很多组件的错误,如无法远程连接、无法打开任务管理器
等。去掉即恢复正常。
或许是我的方法不对,需要其他导致错误信息的信息我再提供,望各位帮我分析分析,解答解答。谢谢!!!

解决方案 »

  1.   

    操作系统是多少位的呢,如果是32bit的,oracle sga大小不能超过1.8G
      

  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.   

    同意http://dev.firnow.com/course/7_databases/database_other/20071120/87305.html
      

  4.   

    虽说这个版本不是很稳定,但是问题不是出在这里。我把数据量稍微减少就不出现这问题,还是sga pga 分配上有问题?还是超出了1.7G?
      

  5.   


    现在把sga修改为1.4g  试试。
      

  6.   

    32bit的操作系统不能大于1.8g,有的也说必须小于1.4g,建议使用64位的操作系统