ubuntu:~/jdk8u$ make all CONF=linux-x86_64-normal-server-slowdebug
Building 'linux-x86_64-normal-server-slowdebug' (matching CONF=linux-x86_64-normal-server-slowdebug)
Building OpenJDK for target 'all' in configuration 'linux-x86_64-normal-server-slowdebug'
Starting langtools
Finished langtools (build time 00:00:00)
Starting hotspot
Finished hotspot (build time 00:00:00)
Starting corba
Finished corba (build time 00:00:00)
Starting jaxp
Finished jaxp (build time 00:00:00)
Starting jaxws
Finished jaxws (build time 00:00:00)
Finished jaxws (build time 00:00:00)
Starting jdk
Compiling 9478 files for BUILD_JDK
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000dd340000, 416022528, 0) failed; error='Cannot allocate memory' (errno=12)
#
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (malloc) failed to allocate 416022528 bytes for committing reserved memory.
An error report file with more information is saved as:
/home/yangfan/jdk8u/jdk/make/hs_err_pid21256.log
CompileJavaClasses.gmk:326: recipe for target '/home/yangfan/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/classes/_the.BUILD_JDK_batch' failed
make[2]: *** [/home/yangfan/jdk8u/build/linux-x86_64-normal-server-slowdebug/jdk/classes/_the.BUILD_JDK_batch] Error 1
BuildJdk.gmk:64: recipe for target 'classes-only' failed
make[1]: *** [classes-only] Error 2
/home/yangfan/jdk8u//make/Main.gmk:116: recipe for target 'jdk-only' failed
make: *** [jdk-only] Error 2