Redis server Out of memory

We were experiencing a downtime on our discourse app installed in digitalOcean lately and this was the message showing on the system log

Do we have to upgrade our droplets memory.?

Yes, you will need to move to a larger droplet.

Thanks @Falco for immediate response .