Set the memory_limit in PHP based on the gear size