Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
wooger
Apr 16, 2005

YOU RESENT?
Edit: taking it to D&D.

Adbot
ADBOT LOVES YOU

Boris Galerkin
Dec 17, 2011

I don't understand why I can't harass people online. Seriously, somebody please explain why I shouldn't be allowed to stalk others on social media!
I have to use Windows at work. Why doesn't Firefox have a 64 bit version for Windows?

Read
Dec 21, 2010

Boris Galerkin posted:

I have to use Windows at work. Why doesn't Firefox have a 64 bit version for Windows?

You can run 32-bit applications on 64-bit machines and the benefits to running a 64-bit copy of Firefox are marginal so the team halted development on it.

If you really think you need a 64-bit build of Firefox there are several 3rd party ones, last I checked Waterfox and Pale Moon were the two big ones.

hifi
Jul 25, 2012

Nightly has a 64 bit build

Pryor on Fire
May 14, 2013

they don't know all alien abduction experiences can be explained by people thinking saving private ryan was a documentary

64 bit builds of the same software generally gobble up substantially more RAM as well, so you should prefer 32 bit on any architecture. Unless there's a specific use case like "this database software won't support instances larger than 4GB unless you have a 64 bit build and I need databases bigger than 4GB" you shouldn't sweat it much.

Nintendo Kid
Aug 4, 2011

by Smythe

Pryor on Fire posted:

64 bit builds of the same software generally gobble up substantially more RAM as well, so you should prefer 32 bit on any architecture. Unless there's a specific use case like "this database software won't support instances larger than 4GB unless you have a 64 bit build and I need databases bigger than 4GB" you shouldn't sweat it much.

No they don't. Also there's nothing wrong with caching stuff in RAM in the first place. You get no performance boost from leaving your RAM unused.

OhPlz
Jul 25, 2001

It's great that we have a minority as President, it's just a shame that he's a communist.

Pryor on Fire posted:

64 bit builds of the same software generally gobble up substantially more RAM as well, so you should prefer 32 bit on any architecture. Unless there's a specific use case like "this database software won't support instances larger than 4GB unless you have a 64 bit build and I need databases bigger than 4GB" you shouldn't sweat it much.

The only major thing that gets bigger in 64bit apps are pointers, and they don't usually make up a significant percentage of an application's memory. The text and images on a web page will take roughly the same using either architecture.

It's not hard to hit the 32bit wall with a browser. Keeping multiple windows open each with multiple tabs, visiting sites that are image and content heavy can get you there.

There's really not reason to still be running 32bit apps on a 64bit machine.

Pryor on Fire
May 14, 2013

they don't know all alien abduction experiences can be explained by people thinking saving private ryan was a documentary

Ok? The two dozen packages I've had to roll out to VMs and had to look at have all used 10-40% more RAM when going from a 32 to 64 bit build, since we're paying for hundreds of VM instances we need to know exactly how little RAM we can get away with, and stick with 32 bit binaries as a result. Not sure what you mean by "caching in RAM" in this context, but yeah if you have ample unused memory it doesn't matter either way.

Pryor on Fire
May 14, 2013

they don't know all alien abduction experiences can be explained by people thinking saving private ryan was a documentary

OhPlz posted:

The only major thing that gets bigger in 64bit apps are pointers, and they don't usually make up a significant percentage of an application's memory. The text and images on a web page will take roughly the same using either architecture.

Not at all, it depends on the compiler and data structures used in the application. It's not that simple.

Nintendo Kid
Aug 4, 2011

by Smythe

Pryor on Fire posted:

Ok? The two dozen packages I've had to roll out to VMs and had to look at have all used 10-40% more RAM when going from a 32 to 64 bit build, since we're paying for hundreds of VM instances we need to know exactly how little RAM we can get away with, and stick with 32 bit binaries as a result. Not sure what you mean by "caching in RAM" in this context, but yeah if you have ample unused memory it doesn't matter either way.

Most 64 bit applications take advantage of the fact that they're no longer stuck in a memory window from 1985. This usually includes caching much more stuff in RAM then they would in 32 bit builds, because it's way harder to actually run out of RAM.

OhPlz
Jul 25, 2001

It's great that we have a minority as President, it's just a shame that he's a communist.

Pryor on Fire posted:

Not at all, it depends on the compiler and data structures used in the application. It's not that simple.

There's a lot involved, but it's a fair generalization for desktop apps. A web browser is going to be eating memory for pictures and other content. Other than managing the memory heap, there's not a lot going on there in terms of data structures. Lists of links, html nodes, css rules, etc will get into that, but would be drowned out by a handful of high res pictures, byte-for-byte.

I've done 32bit to 64bit conversions at several companies. I can't think of any where there were significant differences in the memory footprint from one to the other. In the early days of Windows doing 64bit perhaps, but the compilers and various libraries have matured since then.

Something like a database would be a different case. They're you're generally talking about massive amounts of small pieces of data. The "data structure" overhead there could be quite significant compared the actual data being managed.

Pryor on Fire
May 14, 2013

they don't know all alien abduction experiences can be explained by people thinking saving private ryan was a documentary

Well in my experience 64 bit versions have always used like I said 10-40% more RAM. I was able to save my company what will work out to almost a million dollars a quarter by utilizing 32 bit binary versions of various unix packages/libraries instead of 64 bit, and downgrading the weight of the Amazon VM instances as a result. A quick glance at both the 64 bit and 32 bit versions of firefox with no plugins, just opening this single page in one tab reveals 159MB of RAM usage vs 118MB of RAM for the exact same version, which works out to a 35% increase in RAM usage.

This is a bit higher than I expected really, wonder what the difference is with a ton of plugins and 20 tabs open and music playing.

Nintendo Kid
Aug 4, 2011

by Smythe
And on my computer, opening Firefox and Waterfox to the same mixture of about 25 tabs with varying levels of content, and then leaving them to sit for 5 minutes, results in 995 MB of RAM used in Firefox and 999 MB of RAM used in Waterfox.

The Merkinman
Apr 22, 2007

I sell only quality merkins. What is a merkin you ask? Why, it's a wig for your genitals!

hifi posted:

Nightly has a 64 bit build
Why make the effort only to remove it for the more stable releases?

Alereon
Feb 6, 2004

Dehumanize yourself and face to Trumpshed
College Slice
The real reason Firefox isn't 64-bit is because they needed to make a new optimizing compiler for JavaScript that generated x64 code. The placeholder one they had was significantly slower than 32-bit. Firefox is pretty efficient with memory so there wasn't a lot of pressure to access more, and just jacking up caches isn't a sure win because memory management overhead can eat up more performance than you gain.

OhPlz
Jul 25, 2001

It's great that we have a minority as President, it's just a shame that he's a communist.

Pryor on Fire posted:

A quick glance at both the 64 bit and 32 bit versions of firefox with no plugins, just opening this single page in one tab reveals 159MB of RAM usage vs 118MB of RAM for the exact same version, which works out to a 35% increase in RAM usage.

IMO, that's too little memory usage for profiling. You want to ensure that the real data, in this case web content, is the majority of the memory utilization and not the executable itself and its dependencies.

Rastor
Jun 2, 2001

If you really want 64-bit you can use Waterfox or Cyberfox. But Mozilla probably won't do it officially until Google does with Chrome.

Qtotonibudinibudet
Nov 7, 2011



Omich poluyobok, skazhi ty narkoman? ya prosto tozhe gde to tam zhivu, mogli by vmeste uyobyvat' narkotiki
Just use Linux Firefox!

Pilsner
Nov 23, 2002

Install Windows posted:

Most 64 bit applications take advantage of the fact that they're no longer stuck in a memory window from 1985. This usually includes caching much more stuff in RAM then they would in 32 bit builds, because it's way harder to actually run out of RAM.
Do you have a source for this? This makes no sense to me. The reason Windows 7 and up appears to gobble up insane amounts of RAM is not because the applications were compiled to 64bit and made for Windows 7, it's Windows itself that uses the RAM cleverly.

It's true that an application can benefit from caching stuff, but it makes little sense in a web browser where the upcoming content is of infinite variance, unpredictable and the caching process itself would be intrusive (i.e. beginning to download and cache all of your bookmarks on startup or something). Caching like there's no tomorrow only really makes sense with applications where the data is mostly firm, its use predictable, and where there is a huge performance boost to be had by caching before opening the flood gates - the best example is a database.

Double Punctuation
Dec 30, 2009

Ships were made for sinking;
Whiskey made for drinking;
If we were made of cellophane
We'd all get stinking drunk much faster!

Pilsner posted:

It's true that an application can benefit from caching stuff, but it makes little sense in a web browser where the upcoming content is of infinite variance, unpredictable and the caching process itself would be intrusive (i.e. beginning to download and cache all of your bookmarks on startup or something). Caching like there's no tomorrow only really makes sense with applications where the data is mostly firm, its use predictable, and where there is a huge performance boost to be had by caching before opening the flood gates - the best example is a database.

Web pages have plenty of static content. The same CSS, scripts, and images often appear many times in a Web site. Caching that stuff is going to reduce network usage and improve page load times.

Read
Dec 21, 2010

dpbjinc posted:

Web pages have plenty of static content. The same CSS, scripts, and images often appear many times in a Web site. Caching that stuff is going to reduce network usage and improve page load times.

I'm not really informed enough to have an opinion on this, but are scripts / CSS large enough to really make a noticeable difference? Images I can see, but scripts and CSS are just a bit of text right?

hifi
Jul 25, 2012

Read posted:

I'm not really informed enough to have an opinion on this, but are scripts / CSS large enough to really make a noticeable difference? Images I can see, but scripts and CSS are just a bit of text right?

The firefox dev tools has a nice chart for that under the network tab if you click the number of requests in the bottom right corner. It's about half a second on the front page of this thread for me.

Pilsner
Nov 23, 2002

dpbjinc posted:

Web pages have plenty of static content. The same CSS, scripts, and images often appear many times in a Web site. Caching that stuff is going to reduce network usage and improve page load times.
Sure, but if the browser caching everything endlessly, the browser's memory usage will trend towards infinity. Perhaps some logical caching, like the 20 latest visited websites, prioritizing the most visited or something would make sense. Still, it would be frivolous to eat up a gigabyte of memory or more on this account, and what's more important, I don't see at all how this logic relates 64bit vs. 32bit, which is the main point.

hifi posted:

The firefox dev tools has a nice chart for that under the network tab if you click the number of requests in the bottom right corner. It's about half a second on the front page of this thread for me.
That's probably for processing the script. Downloading it will take almost no time. I don't think it makes sense to cache the CSS transformation... it would have to save a static HTML version of the page you're viewing and display that again later, which wouldn't be too smart for a forum at least.

Pilsner fucked around with this message at 13:49 on Apr 7, 2014

codl
Jul 28, 2013

Pilsner posted:

That's probably for processing the script. Downloading it will take almost no time.

I'm afraid not. That's over half a second for a CSS file, mostly spent waiting for the server. No matter the size of the resource, every request introduces delays while waiting for the server to answer, and those delays add up pretty fast when every JS and CSS file is requesting more files.

Pilsner posted:

I don't think it makes sense to cache the CSS transformation... it would have to save a static HTML version of the page you're viewing and display that again later, which wouldn't be too smart for a forum at least.

What are you on about? The CSS is static either way, it's not going to change every time you reload the page or load a new page on the same website. Unless you're talking about caching the resulting page once CSS and JS have been applied to it, which is something that some browsers do but only when using the back/forward buttons. Firefox has been doing it since 2006.

Caching on the web isn't a new issue. Every browser has had cache both in memory and on disk since the netscape days. There are HTTP headers to specify how long a file should be cached, others to validate that a file in cache is still valid, lots of people have been thinking about it, designing cache management techniques and improving upon them for years. But I'm sure they'd appreciate your suggestion to cache “like the 20 latest visited websites, prioritizing the most visited or something.”

If you really want no in-memory cache, you can go to about :config and disable browser.cache.memory.enable, or if you just want it to be smaller you can tune browser.cache.memory_limit (in kiB). The default value of 50MiB ought to be fine for most people though; if your instance of Firefox is eating up memory, it's certainly not because of its cache. If you're curious about memory usage, do check out about :memory, it's not always super accurate and it's not user-friendly but it still does an okay job of showing you where your memory is going.

GenderSelectScreen
Mar 7, 2010

I DON'T KNOW EITHER DON'T ASK ME
College Slice
So I have this problem with Firefox where Facebook will freeze and either crash to desktop or just force my entire laptop to restart. It only happens when that dropdown menu appears when you start to write a friend's name (or the name of a page). Its gotten to the point where I can't even use Facebook on my computer anymore.

It doesn't happen on any other site and only happens with the dropdown menu. What could be causing the freezing?

Alereon
Feb 6, 2004

Dehumanize yourself and face to Trumpshed
College Slice

JGBeagle posted:

It doesn't happen on any other site and only happens with the dropdown menu. What could be causing the freezing?
Odds are it's some add-on you have installed, disable anything Facebook related and try again. If that doesn't help, use the Reset Firefox feature mentioned in the OP, which makes a clean Firefox profile and reimports your data.

GenderSelectScreen
Mar 7, 2010

I DON'T KNOW EITHER DON'T ASK ME
College Slice

Alereon posted:

Odds are it's some add-on you have installed, disable anything Facebook related and try again. If that doesn't help, use the Reset Firefox feature mentioned in the OP, which makes a clean Firefox profile and reimports your data.


I don't have any Facebook apps but I did update Java and Flash (why the gently caress do they not automatically update like everything else? :psyduck:) but I'm not really going to sit there on Facebook until it freezes again to see if that worked or not. Besides, I've followed what Firefox support has said for like the last ten versions that people have been complaining about. That and the inexcusable memory leak that still plagues me to this day.

Alereon
Feb 6, 2004

Dehumanize yourself and face to Trumpshed
College Slice

JGBeagle posted:

I don't have any Facebook apps but I did update Java and Flash (why the gently caress do they not automatically update like everything else? :psyduck:) but I'm not really going to sit there on Facebook until it freezes again to see if that worked or not. Besides, I've followed what Firefox support has said for like the last ten versions that people have been complaining about. That and the inexcusable memory leak that still plagues me to this day.
It really sounds like you need to use Reset Firefox. The default browser doesn't really have noticeable memory leaks so if you're seeing that it's either an add-on you've installed or you have an issue with your profile, Reset Firefox will fix both. Check in Firefox > Add-ons to make sure you don't have any unexpected add-ons installed, such as something your antivirus program put there. It's also probably a good idea to run general malware scans.

Flipperwaldt
Nov 11, 2011

Won't somebody think of the starving hamsters in China?



I have a situation in which I frequently plug in and unplug audio devices (or conjure up some out of thin air with bluetooth) who in turn become the default audio device. I never had a problem with Firefox (and Flash, I guess) following along and immediately switching over to whatever output was preferred at each moment.

I recently upgraded to 27 (from 23) and it seems to require a restart of the browser to detect that the list of audio devices has changed. Other programs still behave the way I'd expect.

I guess what I'm asking is if someone with a usb audio interface or usb headset can confirm that this is now how Firefox 27 is expected to handle these things, or if it's some bizarre problem on my end.

Avenging Dentist
Oct 1, 2005

oh my god is that a circular saw that does not go in my mouth aaaaagh

Flipperwaldt posted:

I guess what I'm asking is if someone with a usb audio interface or usb headset can confirm that this is now how Firefox 27 is expected to handle these things, or if it's some bizarre problem on my end.

I have a similar issue with the 3.5mm front panel jack on my computer. File a bug?

Flipperwaldt
Nov 11, 2011

Won't somebody think of the starving hamsters in China?



Avenging Dentist posted:

I have a similar issue with the 3.5mm front panel jack on my computer. File a bug?
It's sort of there already, I think. Except that it's not just HTML5 audio.

I dunno, I looked into the process of filing it as a new bug or adding some information to the one linked above and it's a little involved. I need an account for which I need to create a new email alias because they're going to make it public. That's already more of a headache than I need right now.

GenderSelectScreen
Mar 7, 2010

I DON'T KNOW EITHER DON'T ASK ME
College Slice

Alereon posted:

It really sounds like you need to use Reset Firefox. The default browser doesn't really have noticeable memory leaks so if you're seeing that it's either an add-on you've installed or you have an issue with your profile, Reset Firefox will fix both. Check in Firefox > Add-ons to make sure you don't have any unexpected add-ons installed, such as something your antivirus program put there. It's also probably a good idea to run general malware scans.

Tried it, still freezes. I should've mentioned that I had recently reinstalled Firefox in hopes of finally ridding myself of the memory leak and Facebook freezing and that didn't even work.

Alereon
Feb 6, 2004

Dehumanize yourself and face to Trumpshed
College Slice

JGBeagle posted:

Tried it, still freezes. I should've mentioned that I had recently reinstalled Firefox in hopes of finally ridding myself of the memory leak and Facebook freezing and that didn't even work.
You can try updating your video drivers, but it really sounds like the problem is with an add-on or plug-in you or a program is installing, potentially something added by your antivirus program. The behavior you're seeing doesn't happen out-of-the-box with Firefox, so either the problem is with your profile or something being added to Firefox. Checking your system for malware would also be a good idea.

Rastor
Jun 2, 2001

Reinstalling Firefox is generally much less likely to fix a problem than resetting a profile. You can use the profile manger to create a new profile; if that profile works then you know the problem was somewhere in your profile, whether it's an add-on, plugin, or just general profile corruption.

Gerudo Rivera
Jan 22, 2005

I've only noticed that particular facebook crash bug since the site interface update, so it may just be a kink they need to work out.

Subjunctive
Sep 12, 2006

✨sparkle and shine✨

Knowing if a clean profile helps would be valuable. I'll check FB-side reports too, see if there's a pattern.

Riso
Oct 11, 2008

by merry exmarx
What causes this poo poo?

Grim Up North
Dec 12, 2011

Riso posted:

What causes this poo poo?



Generally a missing font, but since the glyph in question is in the Unicode private use area, the website should have loaded an appropriate font. Looking up the code it seems that old iOS/OSX versions used it to display a cherry blossom emoji, before using a proper codepoint: 🌸. (Also, if you use NoScript or similar, many website use third parties to provide custom webfonts so you should unblock them.)

Grim Up North fucked around with this message at 10:31 on Apr 15, 2014

Riso
Oct 11, 2008

by merry exmarx
Third party fonts. Well that explains it, thanks.

Adbot
ADBOT LOVES YOU

GenderSelectScreen
Mar 7, 2010

I DON'T KNOW EITHER DON'T ASK ME
College Slice

Subjunctive posted:

Knowing if a clean profile helps would be valuable.

It isn't.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply