Jump to content
Posted 20 December 2012 - 20:19
Posted 20 December 2012 - 20:33
Posted 20 December 2012 - 23:25
IIRC MAMP sets it to 32mb by default.
Depends what you're trying to run on it, and where you're eventually going to be running what you develop. Some shared hosting sites keep the php memory limit at 8 or 16mbs. Things like Drupal running views will get around 128 pretty easily.
FWIW, it will throw a fatal error if you use too much, so feel free to run it and see what happens, then up it when you go over.
Posted 21 December 2012 - 00:43
Me and my partners actually run the biggest server Host Gator could offer.
Let's say I'll also be developing a framework that does things for me and I don't like things slowing down.
Posted 21 December 2012 - 05:45
I'm not sure what your point is, a script is going to run as fast as it's going to run. If php runs out of RAM, you get a fatal error. You should figure out how much you need and set the limit relative to that. If you allocate 512 and php is running through it because of bad code, you'll never know.