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

来源:互联网 发布:java编写菱形图案 编辑:程序博客网 时间:2024/05/01 21:16

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

内存不足, 在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=500Mstep 2:  # mkswap /home/swap  注释:把刚才空间格式化成swap各式step 3:  #swapon /home/swap  注释:使刚才创建的swap空间      如果想关闭刚开辟的swap空间,只需命令:#swapoffhttp://tianshuai.github.io/blog/2013/08/26/g-plus-plus-internal-error-killed-program-cc1plus/

0 0
原创粉丝点击