• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root Building on java protip

Tito23p

Well-Known Member
This maybe can be useful :

Protip: Java (icedtea or Sun JDK, that I've tested) on Linux 3.6 appears to have some issues, and will often eat up all available CPU cycles.

When building Android, that's especially noticeable when something is being run through proguard, and makes build times shoot up (not to mention unusable machines for the duration). If you're seeing java/javac processes use ALL the cores for visible periods of time while building android, and your host is on linux 3.6, try echo never > /sys/kernel/mm/transparent_hugepage/defrag


Taken from here:
https://plus.google.com/u/0/115049428938715274412/posts/TqTRrR1Uudp
 
Back
Top Bottom