首页 / 安卓资讯 / 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的文件夹,权限设置如图:  

iphone开启原生虚拟内存教程

  全部完成后,重启手机,/private/var/VM 出现swapfile0就说明成功。

  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>
            <true/>
            <key>ResetAtClose</key>
            <true/>
        </dict>
        <key>com.apple.springboard.watchdogserver</key>
        <true/>
    </dict>
    <key>POSIXSpawnType</key>
    <string>Interactive</string>
    <key>ProgramArguments</key>
    <array>
        <string>/System/Library/CoreServices/SpringBoard.app/SpringBoard.env</string>
    </array>
    <key>RunAtLoad</key>
    <false/>
    <key>ThrottleInterval</key>
    <integer>5</integer>
    <key>UserName</key>
    <string>mobile</string>
</dict>
</plist>
本文来自网络,不代表155手机网立场,转载请注明出处:https://www.155shouji.com/html/android/az/2019/0302/99409.html

dawei作者

【声明】:155手机网内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。
上一篇
下一篇

为您推荐

联系我们

联系我们

0577-28828765

在线咨询: QQ交谈

邮箱: xwei067@foxmail.com

工作时间:周一至周五,9:00-17:30,节假日休息
返回顶部

本站内容转载自互联网,其发布内容言论不代表本站观点,如果其链接、内容的侵犯您的权益,烦请提交相关信息发邮件至xwei067@foxmail.com我们将及时予以处理。

建议您使用1366×768 分辨率、Microsoft Internet Explorer 11浏览器以获得本站的优质浏览效果

Copygight © 2017-2023 https://www.155shouji.com All Rights Reserved. 155手机网

站长:xwei067#foxmail.com(请把#换成@)