You getting this error message is because the available memory in your machine is insufficient to continue running or to perform the specified operation.
Which device you're using?
Kindly refer below link for recommended physical RAM for Arria 10 devices - Page 2
Hopefully the processor and OS in your server/system is 64-bit and you have installed the 64-bit version of Quartus Prime. If running Windows, then it should call the 64bit executable automatically. If on Linux, you should invoke the Quartus tools (quartus, quartus_map, quartus_fit, quartus_sta, quartus_tan, and/or quartus_cdb) using the --64bit option at the command line. Also set the QUARTUS_64BIT environment variable on the system