on 3/15/03 7:55 PM, Nicholas Fitzgerald at [EMAIL PROTECTED] appended the
following bits to my mbox:

> Spider still dies, but now it's finally given me an error: "FATAL:
> erealloc(): unable to allocate 11 bytes". This is interesting, as I'm
> not using erealloc() anywhere in the script. When I went to php.net to
> check it out, all I got was a "memory management" page with this and
> some other memory type functions listed.

Those are functions used by the actual PHP developers to communicate with
the Zend engine (which itself communicates with the OS/CPU).

You don't call those functions and can't affect them.  This sounds like a
very obscure bug with PHP on windows.  I can't remember if you are running
the latest version of PHP (4.3.1 or 4.3.2 RC 1).  If not, please try it
using that version of PHP to see if you can still reproduce the problem.  If
so, please file a bug report at http://bugs.php.net/

A quick search didn't pull up anything related to your issue.  The only
recent entry related to erealloc is for 4.2.3 on Windows:


But it doesn't necessarily seem applicable.  Unless you're running out of
memory?  Or maybe the server can't handle all the connections?  If so, you
could try sleeping for a second every 10 times through the loop, etc, to
slow down the process and maybe keep it from dying.

Hope that helps.


Paul Burney


if ($your_php_version < 4.1.2) {
    upgrade_now();  // to avoid major security problems


PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to