Mosquitto crashing repeatedly with potential memory leak?

As you said, it is very similar. I would say the same. You did not read the thread then? The answer is there:

It says in HA docs:

TOOLS REQUIRED: Raspberry Pi 4 or 5 with power supply (minimum 2 GB RAM)