Send to a Friend

Vincentt's avatar

Is it unwise to raise PHP's memory limit?

Asked by Vincentt (8094points) June 19th, 2008

A website I’m currently working on is quite heavy which resulted in a memory allocation error. Now, this can be solved by raising the “memory_limit” in PHP’s settings so enough memory is available, but is this a wise thing to do? I don’t really have many ideas on how to improve the performance of my scripts so I don’t know what else to do, but raising the limit doesn’t sound very wise to me.

Using Fluther

or

Using Email

Separate multiple emails with commas.
We’ll only use these emails for this message.