Google engineers made to use gimped Nexus 4 with 512 MB of RAM when optimizing Android KitKat

27comments
Google engineers made to use gimped Nexus 4 with 512 MB of RAM when optimizing Android KitKat
After Project Butter that improved the general Android interface fluidity, Google introduced Project Svelte with 4.4 KitKat, targeting smooth performance of the stock Android system even on devices with meager 512 MB of RAM. We already explained how Google did the core services optimization, and now Dave Burke, the head of engineering for Android, gives more juicy details on the technicalities of it.

The team decoupled Google Apps suite from the system itself, and started analyzing each app's flirt with memory, as some of those are running services in the background 24 hours a day. The software engineers made a tool called ProcStats, which you can see in the Developer options on KitKat phones, that shows exactly how much memory each app and process are consuming over time. The goals were as follows:

  • Reduce the footprint of the system.
  • Reduce the footprint (memory usage) of the apps that run on a Google Experience (Nexus) device. 
  • Fix how apps react and crash during bad memory situations.
  • Provide better measurement and instrumentation of how apps are running in Android so developers can see how memory-conscious their apps are.

Recommended For You

Armed with this knowledge, the team isolated the GApps culprits that were consuming too much memory and didn't need to, optimized their code, and also made Android shut down any apps like those that it deemed unnecessarily thirsty for memory. The fun part was during testing, though, as Dave Burke made each engineer carry a gimped Nexus 4 as a daily driver, which apparently sped up the development of Project Svelte significantly:


This way, isolating the bad memory situations and reducing the system and Google Apps footprint, the Android engineering team managed to make a giant step towards reducing fragmentation. Even low-end white box Chinese handsets, which very often ship with Gingerbread even, can now ship with the latest version of Android without their makers worrying about the phone's performance.

source: ReadWrite

Grab the Pixel 10 at Mint Mobile for $450 off

$349
$799
$450 off (56%)
Mint Mobile now sells the Google Pixel 10 with a massive $450 discount. The promo is available on select color variants with 128GB of storage. You also get a 12-month unlimited data plan for $180 instead of $360.
Buy at Mint Mobile

Pixel 10 Pro: now $475 off at Mint

$524
$999
$475 off (48%)
Grab the pro-grade, compact Pixel 10 Pro at Mint Mobile with a 12-month unlimited plan, and you can save a huge $475. The data plan comes with a discount, too: 50% off, to be exact.
Buy at Mint Mobile

The Pixel 10 Pro XL is $700 off at Mint right now

$499
$1199
$700 off (58%)
The high-end Gemini AI-enhanced Pixel 10 Pro XL is now available with a mind-blowing discount. You can now save $700 on the phone, plus 50% off unlimited 12-month plans.
Buy at Mint Mobile

The Pixel 10 Pro Fold is now $400 off

$1399
$1799
$400 off (22%)
The foldable Pixel 10 Pro Fold is another standout holiday offer. Right now, you can get the device for $400 off at Mint Mobile. On top of that, you save $180 on 12-month unlimited data plans.
Buy at Mint Mobile
Google News Follow
Follow us on Google News

Recommended For You

COMMENTS (27)

Latest Discussions

by 30zpark • 3
by RxCourier9534 • 13
FCC OKs Cingular\'s purchase of AT&T Wireless