FF54.0,64bit on Ubuntu 16- how to get it to use more memory?

Discussion of general topics about Mozilla Firefox
Post Reply
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

FF54.0,64bit on Ubuntu 16- how to get it to use more memory?

Post by KrisM2 »

I left FF to go to Chromium, but the other day I caught it using 14GB, (and other issues) so back to FF - I use side tabs since my beloved tabmix will probably disappear - besides I have grown to love it. But FF uses very little of the 16GB memory.
I run about 100-150 tabs.
I did already change
browser.cache.memory.capacity;8192
browser.cache.memory.enable;true

I'll attach some pics...

http://imgur.com/a/sc4Li
Last edited by KrisM2 on June 22nd, 2017, 11:09 am, edited 1 time in total.
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
malliz
Folder@Home
Posts: 43796
Joined: December 7th, 2002, 4:34 am
Location: Australia

Re: FF64.0,64bit on Ubuntu 16- how to get it to use more mem

Post by malliz »

Why on earth do you want it to use more memory? It will only use what it needs
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: FF64.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

Make it faster.
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
Grumpus
Posts: 13232
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: Fx54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by Grumpus »

Are you considering the old ram disc trick where parts of the software package load in memory instead of having to go back and forth across the buss to the discs?
If so you would need to de-construct Firefox to see what uses the disc and what uses ram and see if it's possible to reallocate the instruction set to use ram.
On the other hand you could dump needless extensions, kill the disc cache and probably do just about as much considering the SSDs you indicate.
You also need to consider your connection to the Internet and your processor.
You may have the ram but not necessarily the processor or connection to make the jump to warp speed.
If I understand the new multi-process for Firefox and future FF this might resolve your issue as well depending on how many cores your processor uses.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: Fx54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

Grumpus wrote:Are you considering the old ram disc trick where parts of the software package load in memory instead of having to go back and forth across the buss to the discs?
If so you would need to de-construct Firefox to see what uses the disc and what uses ram and see if it's possible to reallocate the instruction set to use ram.
On the other hand you could dump needless extensions, kill the disc cache and probably do just about as much considering the SSDs you indicate.
You also need to consider your connection to the Internet and your processor.
You may have the ram but not necessarily the processor or connection to make the jump to warp speed.
If I understand the new multi-process for Firefox and future FF this might resolve your issue as well depending on how many cores your processor uses.
I used to do the RAM thing a long time ago when I was on win7 - I'll look at it again for Linux.
Processor is i5 4670K 3.5, 4 cores - all seem to be used. idles at 5-10%.
Internet is 100Mbs
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
Grumpus
Posts: 13232
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: Fx54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by Grumpus »

You'll still need to see if anything is programmed to call parts of the software (static/default) on the disc across the buss.
Just placing Firefox in a ram disc doesn't mean it will work as a lot of it already performs there.
What gets saved is usually across the buss.
Open about:memory and see if there's anything there which might be be a clue.
Look at some of the memory management utilities in the Ubuntu repositories.
With the changes using the Rust system being implemented by various OSs and Firefox you might want to look at memory management for that language.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: Fx54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

Grumpus wrote:You'll still need to see if anything is programmed to call parts of the software (static/default) on the disc across the buss.
Just placing Firefox in a ram disc doesn't mean it will work as a lot of it already performs there.
What gets saved is usually across the buss.
Open about:memory and see if there's anything there which might be be a clue.
Look at some of the memory management utilities in the Ubuntu repositories.
With the changes using the Rust system being implemented by various OSs and Firefox you might want to look at memory management for that language.
Yes! Thanks! I have abandoned it as I read some caveats against it. I will leave it as it is. Actually it seems plenty fast enough playing with it today. I think there were some google problems in our area a few days ago and that slowed everything up. Kept changing the DNS on my router. Don't know where it is now,(edit 8888,8844) but works. I did see mem up to 4 or 5gb yesterday so that's great. I'm happy!
Thanks again!
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

It may be time to start nightly'ing 57 to make sure my extensions will work... Soon!
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
Grumpus
Posts: 13232
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by Grumpus »

A good number of people who have made extensions needed for various functions are probably doing the same thing.
However, nightlys are not always a finished product so what works or doesn't may change, good luck and be careful.
As a side note it seems to me the Ubuntu team has made an effort to keep things working regardless of some changes.
As an example you can still find and delete unwanted search engines while other systems seem to hide them.
This may change with FF57.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

Yes, good advice - I went and looked at the downloads and did nothing - maybe in August.

Is C=F an absolute true in all conditions? I bet not.
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
Grumpus
Posts: 13232
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by Grumpus »

[OAEnEl] <---Global individual application; Solve: if 3Px=F then C=F but 3Px ≠ C
Nope, never in the open air, otherwise global.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
User avatar
KrisM2
Posts: 432
Joined: November 9th, 2004, 5:45 pm
Location: Boston

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by KrisM2 »

Grumpus wrote:[OAEnEl] <---Global individual application; Solve: if 3Px=F then C=F but 3Px ≠ C
Nope, never in the open air, otherwise global.
OK, never in open air(define?) but global in vacuums, solids, liquids? crystalline lattices?

Edit - like inside a capacitor? Like an open variable cap?

or C=4Px ?

or when capacitance = farads and capacitance not= force ?
-- ThinkPad P15s-Gen1-20T4-002KUS, i7-10510U, UEFI/GPT, 16GB, Sammy 970 EVO Plus 500GB M.2.
- others -
-laserjets: HP M254dw color, HP P1606dn. Epson Perfection 2480 flatbed scanner -
User avatar
Grumpus
Posts: 13232
Joined: October 19th, 2007, 4:23 am
Location: ... Da' Swamp

Re: FF54.0,64bit on Ubuntu 16- how to get it to use more mem

Post by Grumpus »

This has nothing to do with electronics, more important.
Hint a formula regarding economy (En)
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
Post Reply