[PR #703] [MERGED] Clear visitedCollections #8588

Open
opened 2026-01-22 16:00:39 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/703
Author: @shulcsm
Created: 6/19/2013
Status: Merged
Merged: 6/30/2013
Merged by: @beberlei

Base: masterHead: patch-1


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 lib/Doctrine/ORM/UnitOfWork.php (+1 -0)

📄 Description

Visited collections are cleared only in commit(). Commit clears up only if it actually has something to do. Processing large amounts of records without changing them cause visitedCollections to grow without any way of clearing.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/703 **Author:** [@shulcsm](https://github.com/shulcsm) **Created:** 6/19/2013 **Status:** ✅ Merged **Merged:** 6/30/2013 **Merged by:** [@beberlei](https://github.com/beberlei) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`3340234`](https://github.com/doctrine/orm/commit/3340234785351ef4680421f5c07f5706bd1524e0) Clear visitedCollections ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/UnitOfWork.php` (+1 -0) </details> ### 📄 Description Visited collections are cleared only in commit(). Commit clears up only if it actually has something to do. Processing large amounts of records without changing them cause visitedCollections to grow without any way of clearing. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:00:39 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8588