Calls sync() and attempts to shrink space used on disk by removing empty space resulting from deletions.
shelve/Shelf.reorganize
Shelf.reorganize