Closed didinkaj closed 6 years ago
Yes, CodeIgniter does some caching internally that naturally raises the memory consumption. And it appears that you're that weird spot where you have just enough memory to process the data once, but not enough to have it cached for secondary usage.
However, I also have to note that you're also comparing our ODBC driver based on ext/odbc to ext/pdo_odbc, which is not the same thing.
Either way, not a bug and nothing we can do about it.
the problems its the manner which CI try to handle all the non standar odbc featrures like row couns, tht are not part of ODBC standar and that CI framwork try to handle, so then ita a CI desing problem
am able to connect to a .mdb file source in linux but when i try running a query i.e.
model function ` public function getDepartmentsAccess() { $sql = ('SELECT * FROM DEPARTMENTS '); $query = $this -> zkteco -> query($sql);
View results from controller
ERROR
A PHP Error was encountered
Severity: Error
Message: Out of memory (allocated 2097152) (tried to allocate 18446744069414584352 bytes)
Filename: odbc/odbc_result.php
Line Number: 171
Backtrace:
While the code below works fine without an error
`<?php $query = 'SELECT * FROM DEPARTMENTS'; $mdb_file = '/var/www/html/imani.com/public_html/lms/ZKAccess.mdb'; $uname = explode(" ",php_uname()); $os = $uname[0];