I post this obviously in the jailbreak section because I'm pretty sure apple wouldn't allow it, but is there anything in the jailbreak realm that would let us use some of the iPad storage, since it's flash, as ram? I have a 16gb iPad, and would happily use 512mb+ to get better multitasking and speed. My inspiration is when you plug in a flash drive on windows you have the option of using it as RAM. I figured there might be a way to use unused space on the ipad for more RAM on the ipad? What do you guys think, is this possible?
Yes but from what I read around the internets, on iOS 4.x it's not recommended.
But if you are still interested here yah go.
Using iFile, navigate to '/System/Library/LaunchDaemons/', then create a new file and name it 'com.apple.dynamic_pager.plist', set the 'owner' as 'root' and the 'group' as 'wheel', the rest leave them at default.
- Copy the lines below, then go back into iFile and paste them as the content of the earlier created file. Now save the file and close iFile.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnableTransactions</key>
<true/>
<key>HopefullyExitsLast</key>
<true/>
<key>Label</key>
<string>com.apple.dynamic_pager</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/sbin/dynamic_pager</string>
</array>
</dict>
</plist>
- Now still using iFile, navigate to "/Library/Preferences/" or "/private/var/preferences/" and create a file named "com.apple.virtualMemory.plist" with he same properties as the other one.
- Copy and paste this into the new file, then save it:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UseEncryptedSwap</key>
<false/>
</dict>
</plist>
- Now reboot/restart your iPad, and you are good to go.
To check if this is working right, open iFile back up, then navigate to '/private/var/vm/' and see if you have a file called swapfile0 that is 64MB in size.