Have you seen this thread?: https://ww.wp.xz.cn/support/topic/memory-limit-issues-during-scan/
Deleting the following two files as suggested in that thread has resolved the problem for me.
• wp-content/uploads/sucuri/sucuri-auditqueue.php
• wp-content/uploads/sucuri/sucuri-oldfailedlogins.php