[unixODBC-support] PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 17047099150164910081 bytes)

antselva at tiscali.it antselva at tiscali.it
Thu Feb 12 12:12:20 GMT 2015


  Hi All,
I'm newbie on unixODBC
I'm using php to connect to mdb access
database by unixODBC.
The connection to dsn is OK
But when I try to
query a select instruction, 

$sql="SELECT * FROM
TableName";
$rs=odbc_exec($conn,$sql);

receive this message: 

"PHP
Fatal error: Out of memory (allocated 262144) (tried to allocate
17047099150164910081 bytes)....."

But database is only 5M.
Searching on
internet I have found many other person in same situation, but not found
a definitive solution. 
My distribution is Debian 7 64bit (try also on
Debian 7 32bit emulated by VirtualBox) - PHP 5.4.36

Thanks in advance

(sorry for my english)
  


Connetti gratis il mondo con la nuova indoona:  hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.
E chiami gratis anche i numeri fissi e mobili nel mondo!
Scarica subito l’app Vai su https://www.indoona.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20150212/04d57362/attachment.html>


More information about the unixODBC-support mailing list