Feeds

Mozilla puts Firefox 4 Android beta on crash diet

Dynamic linker obesity treatment

Providing a secure and efficient Helpdesk

The Firefox 4 Android beta is morbidly obese. But Mozilla has a diet plan.

Over the past twelve hours, after Mozilla released its first Firefox 4 beta for Android, multiple Reg readers have said the browser takes up far too much space on their Googly phones. "Fooking HUGE!!!" said one. "Not even going to waste my time with the beta."

The install is indeed large — particularly when you consider that many Android phones offer only 64MB to 512MB of storage for apps. The Firefox 4 beta needs about 40MB of storage space. Whereas WebKit browsers can use the rendering libraries bundled with Android, Mozilla is forced to include Firefox's libraries in its APK (Android package) file.

Mozilla man Matt Brubeck also points out that due to the way the Android native development kit is designed, these libraries actually end up in two places. They're not only compressed in the APK, they're extracted to a folder when the browser is loaded onto the phone. "For apps like Firefox that are mostly native code, this more than doubles the installation size," he says.

In an effort to solve this problem, Mozilla developer Michael Wu is building a dynamic linker that can load the rendering libraries from the APK without copying the libraries to a folder. This will cut the installation size by more than half, Brubeck says, but will increase startup time. For that reason, Mozilla may just let the browser take up more space on phones with a gigabyte or more of internal storage.

Brubeck also points out that with Android 2.2, you'll have the option of moving the APK to an SD card. The extracted libraries, however, will remain on the phone's internal storage.

Regardless, Mozilla anticipates that the Firefox 4 beta 2 for Android will be smaller. ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
Same old iPad? NO. The new 'soft SIMs' are BIG NEWS
AppleSIM 'ware to allow quick switch of carriers
Arab States make play for greater government control of the internet
Nerds told to get lost in last-minute power grab bid at UN meeting
Brits: Google, can you scrape 60k pages from web, pleeease
Hey, c'mon Choc Factory, it's our 'right to be forgotten'
Of COURSE Stephen Elop's to blame for Nokia woes, says author
'Google did have some unique propositions for Nokia'
It's even GRIMMER up North after MEGA SKY BROADBAND OUTAGE
By 'eck! Eccles cake production thrown into jeopardy
Mobile coverage on trains really is pants
You thought it was just *insert your provider here*, but now we have numbers
Don't mess with Texas ('cos it's getting Google Fiber and you're not)
A bit late, but company says 1Gbps Austin network almost ready to compete with AT&T
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.