nsane.forums Posted December 12, 2011 Share Posted December 12, 2011 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.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 OptionsThis 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; or3. 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 ProblemCurrently, 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 View: Original Article Link to comment Share on other sites More sharing options...
shought Posted December 13, 2011 Share Posted December 13, 2011 Did it ever occur to them they should just try to make sure the browser doesn't use such insane amounts of memory? Link to comment Share on other sites More sharing options...
Dooohhh Posted December 13, 2011 Share Posted December 13, 2011 Did it ever occur to them they should just try to make sure the browser doesn't use such insane amounts of memory?+1 Link to comment Share on other sites More sharing options...
hackz Posted December 14, 2011 Share Posted December 14, 2011 Did it ever occur to them they should just try to make sure the browser doesn't use such insane amounts of memory?Well, I agree they must try to make the browser don't use insane amounts of memory. But it's not the "browser" that is using 3GB of RAM it's the compiler because the source-code is too large and continues growing. :showoff:I hope see the day that Firefox will be faster than Chrome. :D But Mozilla will have too much work to do until that. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.