On Tue, 20 Sep 2022, Matthias Petermann wrote:
I think I had answered this earlier (but I'm not quite sure) - the problem
only occurs when I write the data obtained with "zfs send" to a local file
system (e.g. the USB HDD). If I send the data to a remote system with netcat
instead, the "file usage" remains within the green range.
[...]
This raises the question for me: can I somehow limit this kind of memory use
on a process basis?
Try piping to dd with direct I/O:
... | dd bs=10m oflag=direct of=foo.file
Does that help?
-RVP