Feeds

Mozilla puts Firefox 4 Android beta on crash diet

Dynamic linker obesity treatment

Top 5 reasons to deploy VMware with Tegile

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. ®

Security for virtualized datacentres

More from The Register

next story
Brit telcos warn Scots that voting Yes could lead to HEFTY bills
BT and Co: Independence vote likely to mean 'increased costs'
Phones 4u slips into administration after EE cuts ties with Brit mobe retailer
More than 5,500 jobs could be axed if rescue mission fails
Will BlackBerry make a comeback with its SQUARE smartphones?
Plus PC PIMs from company formerly known as RIM
New 'Cosmos' browser surfs the net by TXT alone
No data plan? No WiFi? No worries ... except sluggish download speed
EE buys 58 Phones 4u stores for £2.5m after picking over carcass
Operator says it will safeguard 359 jobs, plans lick of paint
Radio hams can encrypt, in emergencies, says Ofcom
Consultation promises new spectrum and hints at relaxed licence conditions
Google+ GOING, GOING ... ? Newbie Gmailers no longer forced into mandatory ID slurp
Mountain View distances itself from lame 'network thingy'
Vodafone to buy 140 Phones 4u stores from stricken retailer
887 jobs 'preserved' in the process, says administrator PwC
Bonking with Apple has POUNDED mobe operators' wallets
... into submission. Weve squeals, ditches payment plans
prev story

Whitepapers

Providing a secure and efficient Helpdesk
A single remote control platform for user support is be key to providing an efficient helpdesk. Retain full control over the way in which screen and keystroke data is transmitted.
A strategic approach to identity relationship management
ForgeRock commissioned Forrester to evaluate companies’ IAM practices and requirements when it comes to customer-facing scenarios versus employee-facing ones.
Saudi Petroleum chooses Tegile storage solution
A storage solution that addresses company growth and performance for business-critical applications of caseware archive and search along with other key operational systems.
WIN a very cool portable ZX Spectrum
Win a one-off portable Spectrum built by legendary hardware hacker Ben Heck
The next step in data security
With recent increased privacy concerns and computers becoming more powerful, the chance of hackers being able to crack smaller-sized RSA keys increases.