Memory exhaustion on large delete

Created on 10 November 2023, about 1 year ago

Problem/Motivation

Out of memory error when deleting a large batch of redirects.

Steps to reproduce

I imported about 15K redirects out of a batch of 86K. I realized the fields were in the wrong order, and stopped the import.
When I attempted to delete with the same file of approximately 86K records, the delete process failed with an out of memory error.

Proposed resolution

Process deletes in a batch, the same way it processes imports, or otherwise reduce the batch numbers so it doesn't run out of memory.

My PHP memory limit is already 512MB, so you could probably get it to fail with a lot fewer than 86K records.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States millenniumtree Holualoa, HI

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024