[PHP] Erro: Allowed memory size of 536870912 bytes exhausted (tried to allocate 45056 bytes) at /snap/nextcloud/45124/htdocs/lib/private/Blurhash/Listener/GenerateBlurhashMetadata.php#85
de ? por – às 19 de nov. de 2024, 16:54:38
HELLO, I’M NEW TO USING NEXTCLOUD.
HOW TO GIVE MORE RAM TO MY PHP?
I TRIED TO CHANGE THE PHP.INI FILE BUT THE FILE SYSTEM IS READ ONLY.
By default, PHP will use 128M as the memory limit. If you notice images not
getting previews generated, or errors about memory exhaustion in your Nextcloud
log, you may need to set this to a higher value.
If you’d like to set the memory limit to a higher value (say, 512M), run:
sudo snap set nextcloud php.memory-limit=512M
To set it to be unlimited (not recommended), use -1: