s3tools/s3cmd — pull request #68 by manos (2012-07-11 04:16:53+00:00)
Title: Fixed: 's3cmd du' gobbles gigs of RAM on buckets with millions of objects

Re-worked 'du' to traverse the structure and store only the sum at each level, allowing python to free memory at each folder. Went from 4GB consumption (and being killed) on a test bucket with ~50M objects in thousands of directories, to a max of 80M usage.