Manual:$wgMaxShellMemory/ru

Подробнее
В Linux команды оболочки выполняются с ограничениями по времени и памяти, заданными с помощью  и. Установка любой переменной в 0 отключит оба предела.

If generating thumbnails with ImageMagick fails with a web server error log message like "Memory allocation failed" or "/bin/ulimit4.sh: Segmentation fault /usr/bin/convert ..." or "convert: Unable to extend cache ...", the  value may need to be increased.

If using Batik to render SVG graphics on some systems, this value needs to be raised in order for the extension to function. (The phrase "Could not create the Java virtual machine." may appear in Apache error log if this problem is occurring.)

См. также

 * - Maximum file size created by shell processes under linux
 * - Maximum time allowance for Linux shell processes
 * - Use cgroups instead of ulimit -v to control memory usage, which is more reliable.