/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: John Arbash Meinel
  • Date: 2009-10-17 04:43:14 UTC
  • Revision ID: john@arbash-meinel.com-20091017044314-nlvrrqnz0f2wzcp4
change the GroupcompressBlock code a bit.
If the first decompress request is big enough, just decompress everything.
And when we do that, let go of the decompressobj.

After digging through the zlib code, it looks like 1 zlib stream object
contains a 5kB internal state, and another 4*64kB buffers. (about 260kB
of total state.)
That turns out to be quite a lot if you think about it.


In the case of branching a copy of 'bzr.dev' locally, this turned out
to be 383MB w/ bzr.dev and 345MB w/ only this patch. (So ~11% of peak).

Also, this was 'unreferenced' memory, because it is hidden in the
zlib internal state in working buffers. So it wasn't memory that Meliae
could find. \o/.
Filename Latest Rev Last Changed Committer Comment Size
..
diff 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 45.4 KB Diff Download File
diff-2 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 270 bytes Diff Download File
diff-3 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 204 bytes Diff Download File
diff-4 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 223 bytes Diff Download File
diff-5 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 4.9 KB Diff Download File
diff-6 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.7 KB Diff Download File
diff-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 204 bytes Diff Download File
insert_top.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 130 bytes Diff Download File
mod 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 91.9 KB Diff Download File
mod-2 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
mod-3 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
mod-4 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
mod-5 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 13.5 KB Diff Download File
mod-6 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 22 bytes Diff Download File
mod-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 17 bytes Diff Download File
orig 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 97.9 KB Diff Download File
orig-2 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-3 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18.1 KB Diff Download File
orig-4 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-5 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-6 4183.7.1 16 years ago Sabin Iacob update FSF mailing address 18 KB Diff Download File
orig-7 3873.1.6 16 years ago Benoît Pierre OK, so now patches should handle '\ No newline at 22 bytes Diff Download File
patchtext.patch 1731.1.17 19 years ago Aaron Bentley Merge bzr.dev 988 bytes Diff Download File