PHP 4.0 Bug #8445: FATAL: emalloc():
| From: | rthaller at net-flow dot com | Date: | Thu, 28 Dec 2000 00:03:09 +0000 |
| Subject: | PHP 4.0 Bug #8445: FATAL: emalloc(): | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-42343@lists.php.net to get a copy of this message | ||
From: rthaller@net-flow.com
Operating system: Windows 2000 SP1
PHP version: 4.0.4
PHP Bug Type: ODBC related
Bug description: FATAL: emalloc():
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.
--
Edit Bug report at: http://bugs.php.net/?id=8445&edit=1