I found a way of quickly testing out of memory behavior on my system - lauching two instances of Stable Diffusion Web UI at the same time.
And it seems OOM killer is somewhat working, with both 1/4 size of RAM as swapfile and 1/2 as ZRam it didn’t completely freeze and was able to recover