PHP 4.0 Bug #8445 Updated: FATAL: emalloc():
| From: | cynic@php.net | Date: | Tue, 09 Jan 2001 15:56:21 +0000 |
| Subject: | PHP 4.0 Bug #8445 Updated: FATAL: emalloc(): | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43570@lists.php.net to get a copy of this message | ||
ID: 8445
Updated by: cynic
Reported By: rthaller@net-flow.com
Old-Status: Open
Status: Closed
Bug Type: ODBC related
Assigned To:
Comments:
seems like your resultset is quite big: about 1GB. do you have enough memory in that machine?
if this is not the problem, reopen the bug report.
Previous Comments:
---------------------------------------------------------------------------
[2000-12-27 19:03:09] rthaller@net-flow.com
When executing the following:
<?php
$connect = odbc_connect("dsn", "user", "pass");
$query = "select * from Banking_Services";
$result = odbc_do($connect, $query);
odbc_result_all($result, "BORDER=1");
odbc_close_all();
?>
I get an error, FATAL: emalloc(): Unable to allocate 1073741824 bytes. I am using PHP 4.04 on
Windows 2000 SP1 connecting via ODBC to a MSSQL 7.0 SQL Server. I installed PHP from the installer
version of the win32 binarys. The script above will work fine if I select a table that does NOT have
a field defined as "TEXT" or if I do a selective select without the field defined as
"TEXT". I have install NO additional extentions or made any modifications to php.ini.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8445