94db15dd3b
When restoring many backups, the backup service uses a lot of memory and
when we do many concurrent restores the backup service ends up getting
killed becase the system runs out of memory.
This patch reduces the ref count to the data as soon as possible to let
Python garbage collect it instead of hogging it for the whole chunk
restore.
Related-Bug: #1865011
Change-Id: I942d9d8b3976232ae1cf82b698fb27285fbef13a
(cherry picked from commit
|
||
---|---|---|
.. | ||
drivers | ||
__init__.py | ||
api.py | ||
chunkeddriver.py | ||
driver.py | ||
manager.py | ||
rpcapi.py |