You are not logged in.

#1 2015-03-02 08:45:16

luca020400
Member
Registered: 2015-03-02
Posts: 9

[SOLVED]Ram Problems while building android 5.0

I installed archlinux some days ago and setted up the android build environment

I was building android 5.0.2 while I noticed that the ram used is always 2G or less ( I have 8GB ram )
Does someone know what is happening and how to fix this ?
Thanks

Additional info:

ArchLinux 64 bit
Required packages : Every Needed Package is installed
Java : OpenJDK java version "1.7.0_75" ( JAVA_HOME=/usr/lib/jvm/java-7-openjdk )
Python : Set using virtualenv2 to 2.7.9 and linked needed libs
Source Code : https://github.com/CyanogenMod/android at branch cm-12.0
CCache : yes ( the same without it )
Command Used for build : mka bacon ( schedtool -B -n 1 -e ionice -n 1 make -j$(cat /proc/cpuinfo | grep "^processor" | wc -l) ) . I tried make too ( make -j5 )

Free Command ( building cm12 ) :

              total        used        free      shared  buff/cache   available
Mem:        8121448     1400992     2315584       21128     4404872     6401936
Swap:       8000508         216     8000292

EDIT : after some hours of compiling it started to use more ram
Solved ;)

Last edited by luca020400 (2015-03-02 10:26:54)

Offline

Board footer

Powered by FluxBB