High rebuild memory requirements: April 2025 edition

I’m hitting a big increase in memory needed to rebuild. I have 8GB memory and even adding an 8GB swapfile it runs out of space on this step: cd /var/www/discourse && sudo -E -u discourse bundle exec rake multisite:migrate

It’s a multisite install with four forums. I haven’t had to add a swapfile before.

edit Now tried with 16G swap and it’s still running out of memory.

This is under Linux, with minimal plugins enabled. The kernel is killing the process.

2 Likes