You are here: Re: how to prevent "memory exausted" « PHP Programming Language « IT news, forums, messages
Re: how to prevent "memory exausted"

Posted by Erwin Moller on 03/17/06 17:09

0000=year wrote:

> Hi
>
> how can I prevent / catch the error / work around this error:
> "Fatal error: Allowed memory size of xxx bytes exhausted"
>
> The script runs and stalls sometimes. Is there a way how I can prevent
> this?
>
> Olaf

Hi Olaf,

That means PHP is out of memory.
You have several option now:
1) Make PHP use less memory by adjusting your script (if possible).
2) GIVE php more memory.

For 2), read on here:
http://nl2.php.net/manual/en/ini.php
and look for memory_limit

Regards,
Erwin Moller

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация