mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #955] [MERGED] iteration risk note #8956
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/955
Author: @goatherd
Created: 2/17/2014
Status: ✅ Merged
Merged: 3/23/2014
Merged by: @beberlei
Base:
master← Head:patch-1📝 Commits (1)
0677423iteration risk note📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
docs/en/reference/batch-processing.rst(+6 -0)📄 Description
is not the full truth.
There is a certain risk of processes getting killed due to memory allocation with large iteration. This is caused by result buffering of the client. It is not always being visible to PHP as http://www.php.net/manual/en/mysqlinfo.concepts.buffering.php suggests.
This is only a proposal for discussion as I am not certain how to best add the information or if to add it at all (was it obvious before?). Is buffered iteration even a good suggestion for anything but small sets?
On a side-note: is there a way to run unbuffered queries with Doctrine?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.