Today, my girlfriend was complaining about her iPhone software crashing left and right due to low memory issues. So I asked myself why can't we just enable swap space(screw the flash memory by the time it dies there will be a nicer phone out). Anyway the phone is running OS 3.0 jailbroken with OpenSSH, winterboard,ect. The usual things that end up on a jailbroken iphone. Basically the process is really simple, get a SFTP program like WinSCP and connect to your iphone as root. Then navigate to /System/Library/LaunchDaemons and upload com.apple.dynamic_pager.plist which can be downloaded via the link below. Next reboot the phone and enjoy having dynamic paging or swap space. The plist could be edited obviously changing the parameters for dynamic_pager for various reasons I just kept it as simple as possible. We tested by backgrounding so many applications the phone came to a crawl but we still had free memory!
Hope this helps some people, not sure if anyone would even be interested in this. But my girl friend sure is happy, which means I'll be getting happy later

lol good luck iphone modding.
Found out I couldn't attach plist files.
Download link for com.apple.dynamic_pager.plist