• 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
Aug 24, 2012
243
25
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
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones