|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51675 OCIFetchInto
Submitted: 2010-04-27 16:40 UTC Modified: 2012-10-26 05:13 UTC
From: miguelaabraham at gmail dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 5.2.13 OS: Itanium IA64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
32 - 23 = ?
Subscribe to this entry?

 [2010-04-27 16:40 UTC] miguelaabraham at gmail dot com
function next_record()
   if ($this->max_rows > 0)
      if (count($this->records) >= $this->max_rows)
         $this->max_reached = true;
	 return false;
      $this->currentRecord = array();
      return OCIFetchInto($this->stmt, $this->currentRecord, 
                          OCI_ASSOC + OCI_RETURN_NULLS);

Actual result:
[Tue Apr 27 10:35:03 2010] [error] [client] PHP Fatal error:  Allowed memory size of 1073741824 bytes exhausted (tried to allocate 76 bytes) in .....


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-27 17:32 UTC]
-Status: Open +Status: Feedback
 [2010-04-27 17:32 UTC]
Please provide a complete script including the SQL and table definition.
 [2010-04-29 06:20 UTC]
If you're using LOBS, try OCI8 1.4.1 from 
(or use PHP 5.3.2+) The delayed LOB cleanout prior to this version is known to 
cause memory shortages for heavy LOB users.  Also see
 [2012-10-26 05:13 UTC]
-Status: Feedback +Status: No Feedback
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 21:03:42 2022 UTC