I have 50% RAM (4GB) assigned as /var/log/ and I don't use surricata.
Still got
[1/2] Extracting suricata-8.0.3: .........
pkg-static: Fail to create /var/log/suricata:No space left on device
while RAM usage was at 2GB.
After disabling RAM disk, the update went through.