Pregunta

Am trying to build AOSP code. Following the instruction am able to start the build but after few minutes my system hangs .System has 3GB RAM and 320GB hdd.

¿Fue útil?

Solución

I have a 3GB RAM ubuntu system and AOSP source compiles without problems. Try using

make -j4

This will spawn 4 threads and will compile faster on a multi-core CPU.

Otros consejos

it will not compile ..requires about 6 gig ram or more..trust me I use to build on 3gig machines sometime ago.. stop doing it about 1.5 years ago due changing requirements of needed ram.

The good news is that most economy machines you see in walmart now for about $300 to $500 can in fact build AOSP code even though they may have only 8 12 gig ram.

It looks like you may need additional RAM to compile AOSP code. Although it may build with 6 GB, I recommend at least 8 GB; without the extra gigabytes, bad things could happen.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top