RStudio Abnormally Terminated error

Whenever I run a specific line of my code, I get the error “The previous R session was abnormally terminated due to an unexpected crash.” I have tried this on servers with increasing memory, so that doesn’t seem to be the issue.

This is an out-of-memory issue, so try requesting more memory for the job.