php memory_limit unlimited
snippet in php

php memory_limit unlimited

user7453

//Unlimited momory limit
ini_set('memory_limit', '-1');

//Fixed memory limit
ini_set('memory_limit','2048M');