Has anybody else noticed this error message when using the Chromium
browser? I happen to be using a P4, if that matters. It appeared after >updating today, 11/19/2020, while reading the New York Times website.
Reports go back a few months, but nothing in the way of a fix.
On Thu, 19 Nov 2020 21:21:42 -0000 (UTC), bob prohaska <bp@www.zefox.net> declaimed the following:out-of-memory
Has anybody else noticed this error message when using the Chromium >>browser? I happen to be using a P4, if that matters. It appeared after >>updating today, 11/19/2020, while reading the New York Times website. >>Reports go back a few months, but nothing in the way of a fix.
Well, the most informative report I've seen mentions the
killer in the OS. Have you tried monitoring memory usage (run top in a console window)?An 8GB Pi4
Which R-Pi are you using?
Do you have a swap file on external media?There's a 4GB hard partition, so far usage is nil.
The 1080p playback stoppage seems to persist.
RaspiOS installations don't come with swap partitions. (Do any modern
Linux installations?)
A. Dumas wrote:
RaspiOS installations don't come with swap partitions. (Do any modern
Linux installations?)
Fedora now swaps onto zram, which feels somewhat recursive ... you use
memory until RAM is full, then start swapping onto a zram device which
is just a RAM disc with compression, so should use less RAM than the
extra virtual address space it gives you ... feels like a novel method
of spiralling into the ground waiting to happen?
Andy Burns wrote:
Fedora now swaps onto zram, which feels somewhat recursive ... you use
memory until RAM is full, then start swapping onto a zram device which
is just a RAM disc with compression
Presumably thats for a new install?
Question: If you did an in-situ upgrade to an F32 install
with a swap partition, did it convert this to
the in-RAM setup without asking you?
it only came in with fedora33
<https://fedoraproject.org/wiki/Changes/SwapOnZRAM>
it seems to add the zram device on top of any existing swap partition,
my fc33 machine still has a ~6 GB LV called swap
no obviously named systemd unit
Standard RaspiOS installations don't come with swap partitions. (Do any >modern Linux installations?) It does have a swap file which is standard
On 20-11-2020 06:56, bob prohaska wrote:
The 1080p playback stoppage seems to persist.
Definitely post that to the RPi forums, where people are actually knowledgable and motivated to fix that.
Standard RaspiOS installations don't come with swap partitions. (Do any modern Linux installations?) It does have a swap file which is standard
100 MB, configured in /etc/dphys-swapfile (turn off before editing:
"sudo dphys-swapfile swapoff" and back on with swapon). This is a weird
size; presumably low to prevent too much writes to SD card, but then why enable it all. Old and perhaps outdated knowledge is to make it as least
as big as RAM.
Fedora now swaps onto zram, which feels somewhat recursive ... you use
memory until RAM is full, then start swapping onto a zram device which
is just a RAM disc with compression, so should use less RAM than the
extra virtual address space it gives you ... feels like a novel method
of spiralling into the ground waiting to happen?
Andy Burns wrote:
no obviously named systemd unit
tell a lie ...
# systemctl list-units *swap*
UNIT LOAD ACTIVE
SUB DESCRIPTION
swap-create@zram0.service loaded active
exited Create swap on /dev/zram0
system-swap\x2dcreate.slice loaded active
active system-swap\x2dcreate.slice
dev-mapper-fedora_localhost\x2d\x2dlive\x2dswap.swap loaded active
active /dev/mapper/fedora_localhost--live-swap
dev-zram0.swap loaded active
active Compressed swap on /dev/zram0
swap.target loaded active
active Swap
There wasn't a systemd swap service before F33, so we need to know how
to disable/uninstall zswap and reinstall the old system using a swap
file or partition - especially those of us with older systems with less memory - my Dual Athlon based house server has 4GB and my old Lenovo R61
has 3GB. The former certainly uses swap space during one of my
infrequently run database tasks, so it seems likely that it would fail
with zswap.
I found this: https://en.wikipedia.org/wiki/Zswap
Apparently zswap is intended to prevent swapping from wearing out flash drives and has been around since 2013. The swap file/partition is still required to deal with the situation when memory gets oversubscribed: as
the zswap cache space grows it will overflow into the swap file or
partition on disk.
On the 1GB Pi2 and Pi3 some kind of hardware swap is essential for running
a GUI,
Apparently zswap is intended to prevent swapping from wearing out flash drives and has been around since 2013. The swap file/partition is still required to deal with the situation when memory gets oversubscribed:
The Wikipedia article I referenced describes zram as a swap device
and zswap as a cache front-ending the swap device, i.o.w. zswap can
deal with memory over-subscription by evicting pages to an external
swap device: zram can't do this because it IS the swap device.
The Wikipedia article describes them as alternatives.
Martin Gregorie wrote:
Apparently zswap is intended to prevent swapping from wearing out flash
drives and has been around since 2013. The swap file/partition is still
required to deal with the situation when memory gets oversubscribed:
Isn't zswap different from swap on zram?
Martin Gregorie wrote:
The Wikipedia article I referenced describes zram as a swap device
I think it's just a ram disc with compression, not specifically for swap
and zswap as a cache front-ending the swap device, i.o.w. zswap can
deal with memory over-subscription by evicting pages to an external
swap device: zram can't do this because it IS the swap device.
The Wikipedia article describes them as alternatives.
Yep.
My machine with the existing 5.9GB swap device and the new 4GB zram swap device, certainly thinks it's got a total 9.9GB swap space now.
# free -hwt
total used free shared buffers
cache available
Mem: 31Gi 2.3Gi 26Gi 45Mi 317Mi
2.4Gi 28Gi
Swap: 9.9Gi 0B 9.9Gi Total: 41Gi
2.3Gi 36Gi
Martin Gregorie wrote:
The Wikipedia article I referenced describes zram as a swap device
I think it's just a ram disc with compression, not specifically for swap
and zswap as a cache front-ending the swap device, i.o.w. zswap can
deal with memory over-subscription by evicting pages to an external
swap device: zram can't do this because it IS the swap device.
The Wikipedia article describes them as alternatives.
Yep.
My machine with the existing 5.9GB swap device and the new 4GB zram swap device, certainly thinks it's got a total 9.9GB swap space now.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 85:18:24 |
Calls: | 6,658 |
Calls today: | 4 |
Files: | 12,203 |
Messages: | 5,333,703 |
Posted today: | 1 |