Red Hat Bugzilla – Bug 971953
Remove units spikes memory consumption for large collections
Last modified: 2013-09-10 11:44:41 EDT
This is similar to the fix we had to add to copy to have the client scope the unit fields that are loaded. Like copy, the ultimate solution will be to move the units loading out of the platform and into the plugin itself.
Pretty simple to verify. Copy an entire repository into another, the idea being to seed it with a ton of things that can be removed. Then remove everything from the destination repository.
[root@ibm-x3550m3-13 ~]# rpm -q pulp-server
[root@ibm-x3550m3-13 ~]# pulp-admin rpm repo remove errata --repo-id rhel-copy --after 2013-06-18
This command may be exited via ctrl+c without affecting the request.
Waiting to begin...