Bug #69381 [Opn->Fbk]: out of memory with sage odbc driver (ok in 5.6.5)

From: Date: Mon, 06 Apr 2015 15:25:24 +0000
Subject: Bug #69381 [Opn->Fbk]: out of memory with sage odbc driver (ok in 5.6.5)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191853@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69381&edit=1 ID: 69381 Updated by: ab@php.net Reported by: JLH at Dataplan dot co dot uk Summary: out of memory with sage odbc driver (ok in 5.6.5) -Status: Open +Status: Feedback Type: Bug Package: ODBC related Operating System: Windows 2012r2 nts PHP Version: 5.6.7 Block user comment: N Private report: N New Comment: Could you please check with the latest snapshots as in bug #69354? Looks very similar to it. Thanks. Previous Comments: ------------------------------------------------------------------------ [2015-04-05 20:13:43] JLH at Dataplan dot co dot uk Description: ------------ On upgrading from php 5.6.5 nts (server 2012r2 64bit) to 5.6.7, our odbc_exec is no longer working. we are using the sage line 50 odbc driver to extract data from the accounts software we use. I suspect this is related to bug id 68964 Test script: --------------- c:\inetpub\php\php.exe c:\inetpub\wwwroot\sage.php sage.php contains: <?php $odbcconn=odbc_connect("SageLine50v20","user","pass"); $query=odbc_exec($odbcconn,"SELECT ACCOUNT_REF, NAME FROM sales_ledger"); ?> Expected result: ---------------- in the 5.6.5 version, the code will display no errors Actual result: -------------- in the 5.6.7 version we get: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 1956365745 bytes) in C:\inetpub\wwwroot\sage.php on line 3 So i changed the memory limit from 512M to 3G to see what would happen: PHP Fatal error: Out of memory (allocated 262144) (tried to allocate 1956365745 bytes) in C:\inetpub\wwwroot\sage.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69381&edit=1

« previous php.bugs (#191853) next »