Build environment:
1. 1 Platform: Ubuntu 20.04
1.2  X86 and Memmory size info:
jinguang@jinguang-hw:~/code/aosp$ cat /proc/meminfo 
MemTotal:       16206432 kB
MemFree:        11680684 kB
MemAvailable:   12317864 kB
Buffers:           58180 kB
Cached:          1386992 kB
SwapCached:            0 kB
Active:          2996960 kB
Inactive:         648004 kB
Active(anon):    2607744 kB
Inactive(anon):   203228 kB
Active(file):     389216 kB
Inactive(file):   444776 kB
Unevictable:      410516 kB
Mlocked:              32 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:               276 kB
Writeback:             0 kB

1.3 AOSP BUILD_ID info:
BUILD_ID=AOSP.MASTER on Feb 26  2021

2. Build error log:(out/error.log)
FAILED: out/soong/.bootstrap/bin/soong_build out/soong/build.ninja
 Outputs: out/soong/build.ninja
 Error: exited with code: 1
 Command: out/soong/.bootstrap/bin/soong_build -t -l 
out/.module_paths/Android.bp.list -b out/soong -n out -d 
out/soong/build.ninja.d -globFile out/soong/.bootstrap/build-globs.ninja -o 
out/soong/build.  ninja Android.bp
 Output:

3. Analysis from the ubuntu log with  /var/log/syslog
There report Linux OOM-killer, just like below:
1390 Feb 25 11:55:47 jinguang-hw kernel: [233969.859817] Out of memory: 
Killed process 313768 (soong_build) total-vm:12888676kB, 
anon-rss:12136068kB, file-rss:0kB, shmem-rss:0kB, UID:1000 pgtables:        
   23972kB oom_score_adj:0
 1391 Feb 25 11:55:47 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (II) 
event4  - Logitech G304: SYN_DROPPED event - some input events have been 
lost.
 1392 Feb 25 11:55:48 jinguang-hw kernel: [233970.394302] oom_reaper: 
reaped process 313768 (soong_build), now anon-rss:0kB, file-rss:0kB, 
shmem-rss:0kB
 1393 Feb 25 11:59:51 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) 
client bug: timer event4 debounce: scheduled expiry is in the past (-4ms), 
your system is too slow
 1394 Feb 25 11:59:51 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) 
client bug: timer event4 debounce short: scheduled expiry is in the past 
(-17ms), your system is too slow
 1395 Feb 25 11:59:57 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) 
client bug: timer event4 debounce: scheduled expiry is in the past (-11ms), 
your system is too slow
 1396 Feb 25 11:59:57 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) 
client bug: timer event4 debounce short: scheduled expiry is in the past 
(-24ms), your system is too slow
 1397 Feb 25 12:00:38 jinguang-hw /usr/lib/gdm3/gdm-x-session[1814]: (EE) 
client bug: timer event4 debounce short: scheduled expiry is in the past 
(-4ms), your system is too slow

I have try to make aosp source with least process(-j1), but it still report 
error. Does any other method to resolve the question on Ubuntu20.04?

Best Regards
Jinguang



-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/c3d73271-6966-4c93-b702-3364cdff3912n%40googlegroups.com.

Reply via email to