Showing questions tagged: Show all questions

How to debug memory problems with extensions?

I'm having huge memory problems with Firefox. In about:performance I can see that the extensions process takes up way too much memory. When I start Firefox it usually sho… (read more)

I'm having huge memory problems with Firefox. In about:performance I can see that the extensions process takes up way too much memory. When I start Firefox it usually shows a memory usage of around 180MB. However, at some point the memory usage of the extensions process starts to increase and it doesn't stop increasing until my RAM is full and then it increases even further. It increases until I restart Firefox or until it uses so much RAM that my computer runs incredibly slow.

Below you can see a screenshot of the Task Manager showing how much RAM is available on my computer and a screenshot of the about:performance page showing the memory usage of the Extensions process. The RAM available on my laptop is 10GB (the default configuration was 4GB of soldered RAM plus 4GB of exchangeable RAM. I have upgraded from 4+4GB to 4+8GB but 2GB of the soldered RAM on this laptop are used as GPU memory so the remaining RAM is 10GB). The about:performance screenshot shows a memory usage of 13GB for the extensions process which is possible because Windows automatically pages RAM on the SSD when I'm running low on available physical memory. This enables programs to actually use more memory than the available physical RAM but of course programs become incredibly slow when the RAM is full and huge parts of memory have to be paged on the SSD.

My actual question: How can I find the cause of these memory problems?

What I've tried so far

- I have created a memory report on about:memory. The result is at the bottom of this post. - I have watched the about:performance page and tried to find out what action triggers the memory usage of the extensions process to increase. At the start of the browsing session the memory usage is only at around 180MB. It stays like that for a while. At some point it starts to steadily increase by many GBs. But I couldn't find the cause. I don't know what triggers the extensions process to increase memory usage. - I could simply disable extensions and see if the problem gets solved. But I want to know which exact extension causes this problem. It is very difficult to find out which one it is because I have many extensions and I don't know what causes the memory usage to increase. So I would have to disable extensions one by one and wait for an indefinite amount of time and check whether memory usage stays low. But I don't know how long I have to wait until the memory usage would increase because I couldn't identify what triggers it to increase.

Rather than just using trial and error I would like to find a way to use debugging tools to exactly determine what causes the problem.

_______________________

This (https://pastebin.com/U3QXTAt9) is the memory report from about:memory. This contains the whole extension (pid 18332) section (copy & pasted by selecting the text on the about:memory page). I have left out the rest because I don't know if it contains private data. Please note: this is not taken from the same browsing session as the screenshot that shows a memory usage of 13GB. Why? Because programs run very slow when memory is low and large parts of memory are being paged. The debug tools usually require a lot of RAM and CPU performance so it's very difficult to use the debug tools when the memory is already full and programs are already running slow. This memory report shows a very high memory usage of the extensions process. In this case it's "only" 3.5GB but it was taken in an early stage of the increasing memory usage. As shown in the screenshot below, memory usage can go even higher than the available physical RAM on my computer. The memory report doesn't clearly show which extension is responsible for the high memory usage. In the memory report, I can only see a high memory usage for the items gc-buffers and gc-heap which leads me to think that the memory problem has something to do with the garbage collector. However, I cannot see which extension is responsible for this. No item in this list with a description that identifies a specific extension has a high memory usage. This is only an excerpt from the memory report (only the extension section). I went through the whole memory report with Ctrl + F "moz-extension" and looked for items with a high memory usage but I didn't find a single item with high memory usage that belongs to a specific extension.

Asked by a72834234 6 days ago

Last reply by Ed 6 days ago

Changing download directory on Firefox android

I want to change my download directory on the mobile app, I've tried the solution of this post, but it doesn't seem to be working anymore, I can't find any other solution… (read more)

I want to change my download directory on the mobile app, I've tried the solution of this post, but it doesn't seem to be working anymore, I can't find any other solution

Asked by claymorwan 3 months ago

Last reply by Denys 6 days ago

Unable to access passwords

I have a Huawei P30 Pro and beta Firefox browser. When I try to view my passwords on Firefox, it brings up a lock screen password prompt. This page requires my password, … (read more)

I have a Huawei P30 Pro and beta Firefox browser. When I try to view my passwords on Firefox, it brings up a lock screen password prompt. This page requires my password, but the password is not recognized, even though it is correct. The lock screen password works in other situations but not in Firefox

Asked by Trevor Z 3 months ago

Last reply by T Jastec (CantODonSleep) 2 weeks ago

Loss of all Firefox info on PC after windows update

After a windows update(W 10), I had to reinstall Firefox, but everything has disappeared! All links to apps, my files, Bookmarks etc. How can I get my Firefox details ba… (read more)

After a windows update(W 10), I had to reinstall Firefox, but everything has disappeared! All links to apps, my files, Bookmarks etc. How can I get my Firefox details back? Thanks for your help. Dave Neild

            • @b.com (Mod's note: email removed)

Asked by Dave Neild 2 weeks ago

Last reply by mattc 2 weeks ago

Lousy search results

Often when I am searching for luxury items, I keep getting Amazon and Temu and Target and Walmart. These are not luxury retailers. Why does Manilla insist on sending me … (read more)

Often when I am searching for luxury items, I keep getting Amazon and Temu and Target and Walmart. These are not luxury retailers. Why does Manilla insist on sending me to these retailers all the time?!? I am looking for classic quality, clothing, shoes, housewares, etc. I am not looking for cheap plastic from China. How can I permanently delete retailers? I do not want to see in the search engine?

Asked by sfkaufman1 2 weeks ago

Last reply by Paul 2 weeks ago

they used youtube for smart mirroring

is there any idea how to cut them from my account , they control all my google accounts for years now, she put bugs, malewares unwanted apps viruses just to ruined my bus… (read more)

is there any idea how to cut them from my account , they control all my google accounts for years now, she put bugs, malewares unwanted apps viruses just to ruined my business and my personality hope you guys help me to achieved justice im joebert clemente 48 of legal age

Asked by Joebert R Clemente 3 weeks ago

Last reply by Paul 3 weeks ago

OLED theme

Hi, Being that OLED and AMOLED screens have become more frequent in recent years (and seem to be coming to stay) I am perplexed by the seeming impossibility of finding a … (read more)

Hi, Being that OLED and AMOLED screens have become more frequent in recent years (and seem to be coming to stay) I am perplexed by the seeming impossibility of finding a way to make Firefox more friendly towards these devices.

I would like to use Firefox with a true black theme on its UI that would waste less battery and go easier on my screen's long-time durability. However, not only do I find that there is no option to do this in-built on the app, there isn't even support for external add-ons or thèmes that could get the job done!

There really shouldn't be any reason why, even if the Mozilla team are unwilling to code the option into the default settings, it couldn't be done through a user-made theme.

Instead, the solutions I've come across seem to span from third-party apps that require rooting the device to modifications made directly by decompiling the APK!

I know this was more of a complaint than a request, but heavy battery usage is a *valid* reason not to use something like a browser, which is likely to accrue several hours of use each charge cycle.

This *is* something Mozilla should care about.

TLDR;

Please point me to a way of making the Firefox UI AMOLED-black that does not require me to mess with the internals of an APK or void my phone's guarantee.

Sorry for the essay.

Asked by Martin 2 months ago

Last reply by Paul 2 months ago

Always automatically refresh the page

The browser always refreshes the website page by itself, opening the page and switching the browser to the backend or foreground but resting the screen for a while will f… (read more)

The browser always refreshes the website page by itself, opening the page and switching the browser to the backend or foreground but resting the screen for a while will force the page to refresh, and data that has been entered but not submitted is lost.

At first I thought it was a wrong setting or a problem with the extension. After I reinstalled it, it still occurs, and it happens with all versions (nightly version, iceraven and waterfox as well).

Looking into the information I thought it was the WebSocket live link that would automatically disconnect to save power, and network fluctuations as well. Disconnecting switches to the connection prompt screen, which looks like a refresh. Maybe my guess is wrong.

I currently mitigated this by modifying the "media.aboutwebrtc.auto_refresh.peerconnection_section" function to false to alleviate this, but it still forces the page to refresh.

My device is:Xiaomi 13U, hyperOS2 by android 15

Asked by lank 2 months ago

Last reply by Paul 2 months ago

what is sync?

I have 'synced' my old phone. Now I have new phone with a Firefox that I used for setup, which has a few open tabs and maybe a couple b9kmarks. I want to 'restore' everyt… (read more)

I have 'synced' my old phone. Now I have new phone with a Firefox that I used for setup, which has a few open tabs and maybe a couple b9kmarks. I want to 'restore' everything fromthe old Firefox to the new. What happens if I 'sync'?

My guess is 'sync'ing the new firefox merely backs up its current state...

Asked by nancyfancy70 3 months ago

Last reply by jonzn4SUSE 3 months ago

Address bar search forces using Bing even when it's disabled

For the last few months Firefox on my android phone has been often (but not always) forcing searches with bing. I have all search options set to Google so this should not… (read more)

For the last few months Firefox on my android phone has been often (but not always) forcing searches with bing. I have all search options set to Google so this should not be happening and I don't want it. I have no extensions installed at all. I have also turned off studies as I saw reports online that this can sometimes cause the problem I'm having but it makes no difference.

Asked by dominic moon 5 months ago

Last reply by jscher2000 - Support Volunteer 5 months ago