Question: can i delete swap file?
Answer: The swap file is a special file in the filesystem that resides amongst your system and data files. If the swapfile is in use, you should not delete it. The swap file allows the system to operate as if it has more physical memory than it actually does.