I imported some json files into MongoDB, the json files are about 1GB/file total 20GB, but the database size is about 40GB, almost 1:2 , I create the collection with
db.createCollection("test",{"capped":false,"noPadding":true})
I know there might be many preallocated space, but how to reduce the database size