4 use cases
Nothing set in tiki-admin.php, set a limit on CLI
(-d memory_limit=256M): then 256M
Set in admin panel (ex.: 3G), set a limit on CLI
(-d memory_limit=256M): then 3G
nothing set in admin, no limit on CLI
no limit (it was hard-coded to 128M before Victor fixed here: https://sourceforge.net/p/tikiwiki/code/77773
Set in admin panel (ex.: 3G), no limit on CLI
no limit (This one is debatable)