will unmapped memory data be placed in swap files

Solution 1:

The answer is quite simple: no. Only memory that is used by the operating system will eventually be swapped to disk.