Defender Audit Logging can't show

When I go to Audit Logging it shows an error “Whoops, Defender had trouble loading up your event log. You can try a quick refresh? of this page or check back again later.” When I try to just today logs it can load it but it can’t load last 30 days. I tried to increase the memory_limit to 2048M but still can’t solve. Also is there any way to delete old logs?