摘要: 一、原因分析: 树莓派内存太小,编译程序会出现virtual memory exhausted: Cannot allocate memory的问题,可以用swap扩展内存的方法。 二、解决方法: 安装dphys-swapfile软件包,安装后默认设置的swap大小为物理内存的两倍,最大为2G。 A 阅读全文
posted @ 2018-09-13 22:57 youlin 阅读(895) 评论(0) 推荐(0) 编辑