The space on the hard drive acts as virtual RAM, this is called paging memory which acts as a slower version of RAM (The reason being HDD has slower...
NOTE* This method works only for 2GB/4GB/8GB RAM PCs. It's not RAM but a swap space, when the System runs out of physical RAM it uses your flash...