Suricata quickly consumes all available RAM

Running suricata 5.0.3 on pfSense 2.4.5-RELEASE-p1. Just recently we’ve seen one of our suricata instances (sometime LAN sometimes VPN client) quickly consume all RAM and swap until it is killed:
2020-11-11T10:53:14-08:00 firewall kernel: swap_pager_getswapspace(32): failed
2020-11-11T10:53:14-08:00 firewall kernel: swap_pager_getswapspace(32): failed
2020-11-11T10:58:22-08:00 firewall kernel: pid 88575 (suricata), jid 0, uid 0, was killed: out of swap space

Just noticed an update for 5.0.4 so am trying that.

Any ideas of what else to check for? Thanks.

Saw it again with 5.0.4.