- We were discussing the massive amounts of space that MongoDB consumes during build (as @infowolfe has PORTAGE_TMPDIR="/dev/shm")
- @robbat2 was planning on committing a warning message/disk space prerequisite check to the MongoDB ebuild on Gentoo Linux noting that during both build and install it takes up an impressive amount of disk space (@infowolfe saw >12GB of used tmpfs prior to merge).
- @robbat2 wanted to know exactly how much space was being consumed but didn't personally have MongoDB installed. He then asked me (@infowolfe) to run a perl one-liner[1] twice (once with /usr/ and once without). We calculated the differential between MongoDB's /usr and non-/usr packaged files to be roughly 180KiBytes on my system (
nostrip&&CFLAGS=-g
).
- / (all filesystems) 2,473,771,415 (bytes)
- /usr/ (only /usr): 2,473,662,740 (bytes)
- differential: 108,675 bytes
- @robbat2 suggested that I drill down further into MongoDB's CONTENTS file, to see exactly where the ~2.4GB in t