Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
There is no swap file in iOS. There are indications it uses compressed RAM in the logs. The flash is WAY slower than the RAM; we don't want a swap file.
If it doesn't do this already then I could see some promise in the idea of safari implementing its own swap file with the individual tab contents being the swappable objects. That way if memory got low then safari could free up some of its memory by swapping some of its tabs out, probably on a least recently used basis. Yes, flash is way slower than RAM, but when it came to the time when the user wanted to switch back to the tab it would probably be quicker to swap in the already parsed and rendered tab contents from flash than it would be to go back out over the network, fetch the HTML, and then parse and render it again.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.