I take your point and have been trying to get grub to limit the RAM as suggested but to no avail. I tried both 'mem=2G' & 'set mem=2G' in the configuration editor and also in grub.cfg but it does not change the value from 16GB.
If the i9 computer has more than 2GB RAM one might not see a memory leak easily.
For example, if it takes 20GB of file transfers to cause a hang on the 2GB Pi, then assuming the scaling is linear that would be
20*16=320GB
of file transfers for a PC with 32GB RAM.
One might boot x86 Linux with a 2GB physical memory limit using the kernel parameter
mem=2G
On a grub based system this option could go in grub.conf but don't forget to remove it later. You could also one-time add mem=2G at the grub menu using the built-in configuration editor.
After the Bookworm PC boots something like
$ grep Total /proc/meminfo
can be used to verify the PC has been limited to 2GB RAM for testing.
As stated in my previous post, it might not be memory exhaustion but fragmentation that limits suitable memory available for a SMB transfer. Fido is not convinced and with the other paw has kept scratching. I wonder if a flea bath would help with the debugging.
Statistics: Posted by TrevorG — Wed Nov 20, 2024 9:06 pm