I’m glad that it’s working now.
Yes, we always recommend enabling swap. Create a swapfile for your Linux server