I am trying to set memory_limit to 512M, but this is locekd to 256M.
ini_set('memory_limit','512M'); ini_get('memory_limit');
I have full control over my server. (this is highlighted)
Please note that everything under 512M works.
ini_set('memory_limit','16M'); ini_get('memory_limit');
Decision
I found out why. In php.ini, I had memory_limit = 256M . Perhaps this is considered the upper limit.
php
dynamic
source share