We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message

Firefox Gains Weight, Challenging Its Developers

Now too big to be built on 32-bit Windows, the popular browser forces Mozilla developers to look for alternatives.

Firefox's SpiderMonkey JavaScript engine may be on a "memory diet," as I reported last month, but it looks like Mozilla's popular browser is getting a bit too big for its britches nonetheless.

Specifically, recent Firefox builds have been too large for developers to work with them on 32-bit Windows, causing problems as a result of space constraints.

"The problem seems to be that the linker is running out of virtual address space during the optimization phase," explained Mozilla developer Kyle Huey in a Google groups email.

A 3GB virtual address space limit in 32-bit Windows is apparently behind the issue, causing developers to scramble for ways to work around it. Until a long-term solution is found, the Firefox team has "turned off or ripped out a few new pieces of code (Graphite, SPDY, libreg) which has brought us back down under the limit for the moment," Huey noted.

Three Options

This actually isn't the first time Firefox has encountered this problem. Much the same thing happened back in early 2010, when a 2GB limit was resolved using the /3GB switch for an extra gigabyte of breathing room.

This time, however, "unfortunately the options aren't as easy as flipping a switch," Huey wrote.

Instead, the developers now face three options:

1. Remove code from the software or split code into separate shared libraries;

2. Switch to Microsoft Visual C++ 2010; or

3. Create Firefox's 32-bit builds on machines running a 64-bit operating system, thus giving the linker access to 4GB of address space.

It's not clear how much the second option would help, Huey noted, plus it won't be feasible for a few weeks. Huey recommended "a combination of (1) in the short term and (3) in the slightly less short term," he said.

SpiderMonkey, incidentally, is not part of the core "libxul" library and so is not part of the problem, Huey pointed out.

A Common Problem

Currently, the only officially supported Windows versions of Firefox are for 32-bit Windows; 64-bit versions exist, but only in the Nightly channel.

Ever-advancing features pose a constant challenge to developers of most kinds of software, which tends to get bigger and bigger as a result. It will be interesting to see how Mozilla ends up dealing with it this time.

IDG UK Sites

Android M Developer Preview announced at Google I/O: Android M UK release date and new features. Wh?......

IDG UK Sites

Why I think the Apple Watch sucks and you'd be mad to buy it

IDG UK Sites

Ben & Holly's Game of Thrones titles spoof is delightfully silly

IDG UK Sites

Mac OS X 10.11 release date rumours: all the new features expected in Yosemite successor