Add an option to disable display of related items on admin's delete confirmation page (to prevent large memory usage on complex objects)
|Reported by:||Tobias McNulty||Owned by:||nobody|
|Severity:||Normal||Keywords:||admin memory limit|
|Cc:||aaron@…, sasha@…, michal@…||Triage Stage:||Accepted|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I recently tried to delete an object in the admin that had several million related objects.
The server quickly ran out of memory as the apache process's memory usage ballooned upwards to near a gigabyte.
I assume this is because it was trying to create an HTML page listing out all the related objects.
Can the admin page do a count and/or limit to avoid this?
I'm using Django 1.1 trunk (r10628), mod_wsgi 2.0, and apache 2.2.8.
Change History (8)
comment:4 Changed 14 months ago by
|Summary:||admin object deletion confirmation page causes server out of memory error → Add an option to disable display of related items on admin's delete confirmation page (to prevent large memory usage on complex objects)|
|Type:||Bug → New feature|
|Version:||1.1-beta → master|