You are here: Allowed memory size of 16777216 bytes exhausted « PHP Programming Language « IT news, forums, messages
Allowed memory size of 16777216 bytes exhausted

Posted by Jim Carlock on 09/12/07 15:57

I'm filling a really large array. Is there a way to get by
this error message without editing the php.ini? The array
needs to get built once, then looped through to fill a data-
base, and it will get alot bigger than 1.5MB, I'm going to
guess maybe at least 100MB.

<snip>

[12-Sep-2007 11:41:53] PHP Fatal error: Allowed memory size
of 16777216 bytes exhausted (tried to allocate 10 bytes) in...
.... on line 23687

</snip>

The other thing I was thinking of involves using a function
that gets supplied an index and returns only 20 or 50 items
at a time.

Thanks for any comments/suggestions.

--
Jim Carlock
Swimming Pool, Spa And Water Feature Builders
http://www.aquaticcreationsnc.com/

 

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

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