Re: Firefox crashes all the time on the RaspBerry Pi Zero 2W

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 13 Apr 2025 23:46:59 UTC
On Apr 13, 2025, at 15:41, Mario Marietto <marietto2008@gmail.com> wrote:

> ->I've no clue what the minimum RAM might be for firefox use
> ->in your context. For all I know, 512 MiBytes might be too
> ->little. How little may well depend on which graphics
> ->environment you are using, as it all competes for RAM+SWAP .
> 
> by default,the FreeBSD image that I've installed on the sd card has the SWAP memory already configured like this :
> 
> # swapinfoDevice 1K-blocks Used Avail Capacity
> 
> /dev/label/growfs_swap 872444 13024 859420 1%

So somewhat over 851 MiBytes. Effective RAM is somewhat under
512 MiBytes. I'm guessing effective RAM+SWAP may be around
1300 MiBytes.

It is good that it is not a swapfile but a swap slice/partition
instead.

> but I suspect that these values are wrong. Can someone help me to fix them ? thanks...

It is not so much right vs. wrong as making tradeoffs.

Resizing slices or partitions and any contained file
systems can be messy. Do you have the option to have
an additional storage media connected to have extra
swap space on, at least temporarily for some
experimentation?

You might be able add up to something like 900 MiBytes
without having warnings about potential mistuning. 
That would make for RAM+SWAP being around 2200 MiBytes.
You might not make it to 2300 MiBytes being effective.
(Again, I've not done such experiments for these smaller
sizes.)

Relative to many web browsers normal requirements, the
context is on the small side. But the FireFox folks do
not publish requirements for any example FreeBSD
fireFox context. Nor does FreeBSD generate such
information.

===
Mark Millard
marklmi at yahoo.com