您的位置:首页 > 其它

debug G++: Internal Error: Killed (Program Cc1plus)

2014-04-03 20:17 281 查看

G++: Internal Error: Killed (Program Cc1plus)

[code]内存不足, 在linux下增加临时swap空间
step 1:
  #dd if=/dev/zero of=/home/swap bs=1024 count=500000
  注释:of=/home/swap,放置swap的空间; count的大小就是增加的swap空间的大小,1024就是块大小,这里是1K,所以总共空间就是bs*count=500M
step 2:
  # mkswap /home/swap
  注释:把刚才空间格式化成swap各式
step 3:
  #swapon /home/swap
  注释:使刚才创建的swap空间

      如果想关闭刚开辟的swap空间,只需命令:#swapoff http://tianshuai.github.io/blog/2013/08/26/g-plus-plus-internal-error-killed-program-cc1plus/[/code] [/code]
                                            
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: