`

AOSP source code build error: Virtual memory exhausted: Cannot allocate memory

 
阅读更多
Sometimes compiling certain things from source I've received a "virtual memory exhausted: Cannot allocate memory" error. The following is a quick tip to maybe allow gcc/libtool/make/whatever to finish their duty.

Change the user’s limits.
ulimit -n


and it is current showing as 1024.
Increase limit from 1024 to 4084.
ulimit -n 2048
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics