Date: 01/09/01
- Next message: Rui Hirokawa: "Re: [PHP-DEV] iconv function breaks build on HPUX"
- Previous message: bpirom <email protected>: "[PHP-DEV] Want suggession to use php open dbase file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8445
Updated by: cynic
Reported By: rthaller <email protected>
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 <email protected>
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
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rui Hirokawa: "Re: [PHP-DEV] iconv function breaks build on HPUX"
- Previous message: bpirom <email protected>: "[PHP-DEV] Want suggession to use php open dbase file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

