Consul container out of memory issues

we are running 3 node consul cluster as a data store for vault. We are observing frequent restarts of consul pods due to OOM. we have increased from 8G to 12G still the pods are restarting with OOM.
The state.bin file is 3.3G and raft.db size is 1.1G, why does the consul use such huge memory.?

Thanks,
Niranjan