in reply to size on disk of tied hashes

How are you determining how much space it takes? Have you looked at the total disk space available before and after making the file?

The reason I ask is that some of the *DBM mechanisms use "holey" (sparse) files where their size is bigger than the amount of disk blocks they actually take. If there is a block that is totally empty, it doesn't use up a disk block even though it shows up in the file size.