编译时提示 virtual memory exhausted: Cannot allocate memory

Linux About 310 words

查看 Swap 交换区

free -m

输出:

             total       used       free     shared    buffers     cached
Mem:           992        799        192          0         40        489
-/+ buffers/cache:        268        723
Swap:             0           0          0

解决办法

增加Swap交换区,可参考 https://www.zhangbj.com/p/286.html

Views: 3,432 · Posted: 2019-04-29

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb/LiteNote

扫描下方二维码关注公众号和小程序↓↓↓

扫描下方二维码关注公众号和小程序↓↓↓


Today On History
Browsing Refresh