We store entity states in an internal queue, when we implement the change to enrich before queuing, this data will be even larger.
We should consider measuring the memory usage as the queue size increases and pick a max queue size that 1) is larger than large HA instances (20k+ entities), 2) provides an upper limit of memory usage.