OOM killer kills HA few times a day

OrangePiOne+ with ARM64/1GB RAM Ubuntu2210, no swap, HA 2023.2.1, python 3.10.6 + venv, HA is the only service (z2m, mosquitto, nut run on other Pi’s). Upon start, HA quickly gets 500M residential memory and then start leaking memory till it gets killed. How to debug this thing? Or may be there is because there is no swap?

btw:
-rw-r–r-- 1 aik aik 305623040 Mar 9 13:04 home-assistant_v2.db
Is that a culpit?

Switching to docker did not change a thing. But enabling swap allowed the memory use to drop from >500MB to ~400MB. Bizarre.