Version
"rpm": "3.31.2"
"core": "3.84.1"
Describe the bug
When syncing the https://yum.oracle.com/repo/OracleLinux/OL9/developer/x86_64/ repository, the memory consumption can reach 10GB.
To Reproduce
Create a remote pointing to the Oracle repository, associate it with a local repository, and ask Pulp to sync it.
Additional context
I'm attaching a memray flamegraph profile in the hope it helps to deal with the issue.
memray-flamegraph-memray_profile.html