Unusually, I would like to reduce the wordpress / woocommerce memory limit, as it leads to too high memory consumption on the server.
I'm not able to change my php memory-limit variable due to my Hosting Service (Siteground).
Nevertheless, it should be possible to set the memory limit for Wordpress.
I have already tried this via the wp-config file.
While Wordpress internally shows me the value I defined for the variables under Site Health, WP still doesn't seem to use these values.
Furthermore, under Woocommerce -> Status I am still shown a different value for the memory limit (the value of the PHP variables, not the WP variables).
Also an error message regarding critical allowed memory size also indicates that the value of the wp-config file does not apply.
var_dump(ini_get_all()['memory_limit']);
from inside WordPress somewhere: if the dumped out access value is 4 then no you can't change it.