Memory limit is not server RAM
The PHP memory_limit controls how much memory one PHP process may consume. It is not the same as total server memory. Setting it extremely high does not create more RAM and can make a busy server less stable if many processes consume that allowance at once.