|
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]
|