萬盛學電腦網

 萬盛學電腦網 >> 手機應用 >> iPhone >> iphone開啟原生虛擬內存教程

iphone開啟原生虛擬內存教程

  本文開啟ios原生虛擬內存教程只適合於 iOS 5.1.1~6.1.2系統,iOS 6.1.2 對iPhone4的內存要求太高了,打開沒幾個軟件就出現很多LowMemory的錯誤報告log,成功開啟虛擬內存即可解決問題(就像Win PC用硬盤空間彌補內存空間不足的情況)。

  我按照內存使用率,從高到低,將部分顯出出來,給懂的人看,有圖有真相!

  一共運行88個程序,包括真實賽車3,英雄戰歌等多款大作,自帶的512M內存,只剩下8824K自由空間,而此時虛擬內存調用320MB磁盤空間,完全感覺不到絲毫卡~

iphone開啟原生虛擬內存教程 三聯

  以下是相關文件說明,如果覺得不好,把com.apple.virtualMemory.plist和 com.apple.dynamic_pager.plist刪除,把com.apple.SpringBoard.plist 還原,然後在命令控制台中輸入reboot就可以恢復到之前的時候,不用從刷手機的:

  com.apple.virtualMemory.plist 放在 /private/var/preferences

  com.apple.dynamic_pager.plist 放在 /System/Library/LaunchDaemons

  在 /System/Library/LaunchDaemons/com.apple.SpringBoard.plist 必須進行手動的修改,修改內容往下看。(記得備份)

  在 /private/var 裡新建VM的文件夾,權限設置如圖:

  全部完成後,重啟手機,/private/var/VM 出現swapfile0就說明成功。

  軟件名稱: iFiles(蘋果資源管理器)1.9.3

  com.apple.SpringBoard.plist 按照規則添加紅色部分,建議使用iFile進行修改:

<?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>EmbeddedHomeScreen</key>
    <true/>
    <key>HighPriorityIO</key>
    <true/>
    <key>Label</key>
    <string>com.apple.SpringBoard</string>
    <key>MachServices</key>
    <dict>
        <key>PurpleSystemAppPort</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.SBUserNotification</key>
        <true/>
        <key>com.apple.UIKit.statusbarserver</key>
        <true/>
        <key>com.apple.aps.alertprovider.xpc</key>
        <true/>
        <key>com.apple.bulletinboard.observerconnection</key>
        <true/>
        <key>com.apple.bulletinboard.publisherconnection</key>
        <true/>
        <key>com.apple.bulletinboard.settingsconnection</key>
        <true/>
        <key>com.apple.bulletinboard.systemstateconnection</key>
        <true/>
        <key>com.apple.bulletinboard.utilitiesconnection</key>
        <true/>
        <key>com.apple.chatkit.clientcomposeserver.xpc</key>
        <true/>
<key>com.apple.dynamic_pager</key> <dict> <key>ResetAtClose</key> <true/> </dict>         <key>com.apple.icfcallserver</key>
        <true/>
        <key>com.apple.springboard</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.UIKit.migserver</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.alerts</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.backgroundappservices</key>
        <dict>
            <key>HideUntilCheckIn</key>
            <true/>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.blockableservices</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.carditemscontroller</key>
        <true/>
        <key>com.apple.springboard.icongeneration</key>
        <true/>
        <key>com.apple.springboard.processinvalidation</key>
        <dict>
            <key>HideUntilCheckIn</key>
            <true/>
        </dict>
        <key>com.apple.springboard.remotenotifications</key>
        <dict>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.services</key>
        <dict>
            <key>HideUntilCheckIn</key>
  
						
copyright © 萬盛學電腦網 all rights reserved