iPadを使用していると意外に残メモリが少ないことがわかるが、
以下の方法でバーチャルメモリを有効することでメモリ不足に陥ることが防げる。
http://www.ipodtouchfans.com/forums/showthread.php?t=288228
1) iFileを使用して /System/Library/LaunchDaemons/ を見つける。
そこに com.apple.dynamic_pager.plist という名前の新しいファイルを作り、
ownerをrootに、groupをwheelに設定し、それ以外は初期値のままで置いておく。
2) 以下のソースをコピーし、iFileで先ほど作成したファイルの中にペーストしファイルをセーブしてiFileを閉じる。
<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN” “(p)http://www.apple.com/DTDs/PropertyList-1.0.dtd“>
<plist version=”1.0”>
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.apple.virtualMemory</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/sbin/dynamic_pager</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
3) 次に /Library/Preferences/ または /private/var/preferences/ を開き、 com.apple.virtualMemory.plist というファイルを作成し、
ownerをroot、groupをwheel に設定して開き、 次の内容をコピペする。
<?xml version=”1.0” encoding=”UTF-8”?>
<!DOCTYPE plist PUBLIC “-//Apple//DTD PLIST 1.0//EN”
“(p)http://www.apple.com/DTDs/PropertyList-1.0.dtd“>
<plist version=”1.0”>
<dict>
<key>UseEncryptedSwap</key>
<false/>
</dict>
</plist>
4) 最後にiPadをリブートで完了。
5) 再起動後、いくつかWebブラウズした後有効になっていれば
/var/vm/にswapfile0〜2などが出来ている。