Cant access deleted files

I’m trying to access deleted files and I get this error:

This diretory is unavailable, please check the logs or contact the administrator

I check nextcloud.log and I have one error but I don’t know how to solve it.

{"reqId":"L93zW5ZOMa8u4mKox3AQ","level":3,"time":"2022-01-18T15:40:33+00:00","remoteAddr":"***","user":"****","app":"PHP","method":"PROPFIND","url":"/remote.php/dav/trashbin/ini/trash","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 5242880 bytes) at /snap/nextcloud/28713/htdocs/apps/dav/lib/DAV/CustomPropertiesBackend.php#268","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36","version":"22.2.3.0"}

This memory limit is from where? PHP memory or some configuration from Nextcloud.

Thanks

Hi.
No one know what this could be?

This is a big problem because I can’t access deleted files.

I’m doing more tests to try to understand what’s happening and I found that there are some users, a minority, that can access deleted files folder in browser.
But the majority, when trying to access get the same error saying that directory is unavailable.