android jack服务器错误

android jack服务器错误,android,compilation,server,android-jack-and-jill,Android,Compilation,Server,Android Jack And Jill,我正在尝试使用JACK服务器构建AOSP安卓牛轧糖rom 3 warnings [ 34% 16872/49032] host Java: bouncyca...tle-bcpkix- host_intermediates/classes) warning: [options] bootstrap class path not set in conjunction with - source 1.7 Note: Some input files use unchecked or unsafe o

我正在尝试使用JACK服务器构建AOSP安卓牛轧糖rom

3 warnings
[ 34% 16872/49032] host Java: bouncyca...tle-bcpkix-
host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -
source 1.7
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
[ 34% 16888/49032] Building with Jack:...l_intermediates/with-
local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-
all_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (56). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed    
make: *** [ninja_wrapper] Error 1
我在为设备编译牛轧糖rom时遇到此错误。
我试图停止、杀死jack服务器,但它出现了这些错误。

您没有足够的ram。我有12G,只有在设置了20G交换文件后,我才能使用jack服务器进行构建。在编译期间,我定期检查可用的ram,我发现jack占用了大约19.8GB的内存