免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3145 | 回复: 4
打印 上一主题 下一主题

程序编译出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-22 20:37 |只看该作者 |倒序浏览
编译程序的时候报错!
Error 6312: \"/opt/aCC/include/memory\", line 160 # Out of memory. Check kernel maxdsiz parameter and swap space configured. (6312)
    inline void __construct (T1* p, const T2& value)
                ^^^^^^^^^^^                        
*** Error exit code 2

请问应该怎么处理!
谢谢!

论坛徽章:
0
2 [报告]
发表于 2003-04-22 20:39 |只看该作者

程序编译出错

错误提示都已经告诉你了,查看内核参数maxdsiz 是否足够

论坛徽章:
0
3 [报告]
发表于 2003-04-22 20:42 |只看该作者

程序编译出错

好像没有用处
我把原来的maxdsiz的值增加了一倍
maxdsiz         0X08000000
还是报了同样的错误!
应该怎么办呢?

论坛徽章:
0
4 [报告]
发表于 2003-04-22 20:48 |只看该作者

程序编译出错

maxdsiz
Maxdsiz defines the maximum size of the data segment of a process. The default value of 64 MB is too small for most applications. We recommend this value be set to the maximum value of 1.9Gb. If maxdsiz is exceeded, the process will be terminated, usually with a SIGSEGV (segmentation violation) and you will probably see the following message:

Memory fault(coredump)
In this case, review the values of maxdsiz, maxssiz and maxtsiz. For more information on these parameters, please see the on-line Help section within SAM\'s Kernel Configuration. If you need to exceed the specified maximum of 1.9Gb, there are a couple of ways (yet to be supported) to do so. Contact your Hewlett Packard technical consultant for the details. It is important to note that the maxdsiz parameter must be modified in order for these procedures to work. Maxdsiz will need to be set to 2.75Gb or 3.6Gb depending on the method chosen and/or size required. It will also require a manual creation of a new kernel.

论坛徽章:
0
5 [报告]
发表于 2003-04-22 21:46 |只看该作者

程序编译出错

谢谢!
问题解决了!
就是把maxdsiz的值设置成最大!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP