A compact command that does not free up space in MongoDB 2.0

I just installed MongoDB 2.0 and tried to run the compact command instead of the restore command in earlier versions. At the moment, my database is empty, and there is only one collection with 0 items and two system collections (indexes, users). Currently, db takes up about 4 GB of hard disk space. Db is used as a temporary queue with all elements that are deleted after they are processed.

I tried to run the following in the mongo shell.

use mydb
db.theOnlyCollection.runCommand("compact")

He is coming back with

ok: 1

But still the same space is taken on the hard drive. I also tried combining system collections, but that didn't work.

When I run a normal recovery command

db.repairDatabase()

the database is compacted and takes up only 400 MB.

- , compact ?

.

+5