>
> Waynn Lue wrote:
>
>> I've been running the script below:
>>
>> > $appIds = getLotsOfAppIds();
>> foreach ($appIds as $appId) {
>>echo "$appId\n";
>>//echo memory_get_usage() . "\n";
>>try {
>> $getBundles = getBundles($appId);
>> $numBundles = count($registeredBundles);
is it possible because you can assign $func = foo and call $func() and it
will call foo(), maybe that its creating an endless loop of assigning the
function to itself?
On Sun, Aug 3, 2008 at 11:17 AM, brian <[EMAIL PROTECTED]> wrote:
> Waynn Lue wrote:
>
>> I've been running the script below:
>>
Waynn Lue wrote:
I've been running the script below:
And I get PHP Fatal Error: Allowed Memory Size Exhausted after it runs for a
bit. Looking at the memory usage, it's because $getBundles (an array) is
huge, and keeps growing. What I'm confused by is why setting it to
something else in the
I've been running the script below:
And I get PHP Fatal Error: Allowed Memory Size Exhausted after it runs for a
bit. Looking at the memory usage, it's because $getBundles (an array) is
huge, and keeps growing. What I'm confused by is why setting it to
something else in the next iteration of t
you hijacked someone else's thread. don't do that.
you are making assuptions about references are correct - the engine is cleverer
than
you think (Sara Golemon has a nice blog post about this kind of reference
assuption that you might want to look up)
the word is 'because' not 'cos'.
'short rec
Hi guys,
I work with hierarchical world areas organization in my php script.
It consumes a lot of memory so I'm trying to optimize it.
The more I try the worse it is ;o)
Consider following code:
general::debug("make_hierarchy","before hier split");
//lets organize areas by parents
foreach ($in
6 matches
Mail list logo