Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2001041

[PHP-DEV] Re: [PHP 4.0 Bug #9816 Updated: FATAL: emalloc(): Unable to allocate] From: Tamer Shazli (shazlista <email protected>)
Date: 04/01/01

it is 4.04pl1 on win2k sp1 and MDAC 2.6

Bug Database <php-dev <email protected>> wrote:
ID: 9816
Updated by: kalowsky
Reported By: shazlista <email protected>

Old-Status: Open
Status: Closed
Bug Type: ODBC related
Assigned To:
Comments:

A) Unable to reproduce locally on Win98SE, and MSAccess
with 4.0.5RC4

B) which version of PHP are you using? Bug report says
4.0.4pl1, but your sample script suggests 4.0.2 -
4.0.1pl1... which is it?

Previous Comments:
---------------------------------------------------------------------------

[2001-03-23 03:32:10] shazlista <email protected>
win2000 sp1 php4.0.2 - 4.0.4pl1
<?
$a=odbc_connect("oh","","");
$r=odbc_prepare($a,"SELECT 'a' FROM xx");
odbc_execute($r);
odbc_free_result($r);
odbc_close($a);
?>

xx is a table whith 1 integer field and 1 row.
I try to select constant literal.
("select * from xx" works fine!!!)
I get FATAL: emalloc(): Unable to allocate 2147483599 bytes
!!! all so 2147483599 bytes

---------------------------------------------------------------------------

[2001-03-18 00:00:17] shazlista <email protected>
When I query a "Query" from access with only 2087 rows( each row is 210 bytes
size), I get this error:

FATAL: emalloc(): Unable to allocate 2147483599 bytes

please help!

---------------------------------------------------------------------------

ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9816&edit=2

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

-- 
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>