 For example, the Microsoft Windows swap file (page file) can be resized dynamically under normal operation, and therefore can become highly fragmented.This can be prevented by specifying a page file with the same minimum and maximum sizes, effectively preallocating the entire file.BitTorrent and other peer-to-peer filesharing applications limit fragmentation by preallocating the full space needed for a file when initiating downloads.