Defender gets stuck on scan process

Defender scan is getting stuck at 92%
Debug log shows memory limit error but Scan settings are not accessible in order to reduce the memory scan can use.
Log is attached below.