Re: New emalloc() error?
| From: | Richard Lynch | Date: | Thu, 04 Jul 2002 21:14:05 +0000 |
| Subject: | Re: New emalloc() error? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-105515@lists.php.net to get a copy of this message | ||
>List,
> I think I saw this one on here before...when reading/writing the database
>I get this when executing odbc_exec(...); What was the fix?
>
>
>
>FATAL: emalloc(): Unable to allocate 1073784417 bytes
This generally means that you tried to suck in a zillion bytes to a
variable, and PHP only has so much RAM, and, well, it's too much...
In this instance, you are attempting to get 1,073,784,417 bytes, which is,
oh, about a *GIG* of RAM into one variable...
Don't do that. :-)
--
Like Music? http://l-i-e.com/artists.htm