update on S3 memory leaks

The remaining leaks are in hS3. The leak with encryption was worked around
by the use of the temp file. (And was probably originally caused by
gpgCipherHandle sparking a thread which kept a reference to the start
of the byte string.)
This commit is contained in:
Joey Hess 2011-04-21 11:06:29 -04:00
parent 45bdb2d413
commit 2467c56771
2 changed files with 4 additions and 14 deletions

View file

@ -1,17 +1,8 @@
S3 has memory leaks
## with encryption
Sending a file to S3 causes a slow memory increase toward the file size.
One only occurs with encryption. It was was fixed for bup, but
not yet for S3, in 5985acdfad8a6791f0b2fc54a1e116cee9c12479.
(The fix I used for bup doesn't seem to work with S3.)
## always
Copying the file back from S3 causes a slow memory increase toward 119 mb.
Copying the file back from S3 causes a slow memory increase toward the
file size.
The author of hS3 is aware of the problem, and working on it.
## fixed
memory leak while uploading content to S3