- nebula 版本:master
- 部署方式(分布式 / 单机 / Docker / DBaaS):Docker
- 是否为线上版本:N
使用 Docker 编译,进入到 make -j8
的时候出现以下错误,查询发现是内存不够导致的,想问问有什么办法降低编译时的内存占用。
collect2: fatal error: ld terminated with signal 9 [Killed]
compilation terminated.
make[2]: *** [bin/test/index_scan_rule_test] Error 1
make[2]: *** Deleting file `bin/test/index_scan_rule_test'
make[1]: *** [src/optimizer/test/CMakeFiles/index_scan_rule_test.dir/all] Error 2
以及,我的 Docker 的资源超过了文档的编译所需应该挺多的,所以应该不存在本身资源不够的问题.