• Register
    • Login
    • Search
    • Categories
    • Popular
    • Recent
    • Tags
    • 关于
    • 捐赠

    有办法调整swap分区大小吗?

    问答
    3
    4
    184
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      Zhangyachuang last edited by

      XA2的内存严重不够用,开三个安卓,连SWAP分区的500M都用完了,能把swap拓展到2G吗?

      1 Reply Last reply Reply Quote 0
      • BirdZhang
        BirdZhang 船长 last edited by

        不知道在哪里设置的,只看到一个 swap.target 文件。

        ———扬帆起航🚢

        1 Reply Last reply Reply Quote 0
        • T
          Timeral last edited by

          https://together.jolla.com/question/180583/howto-xperia-x-214-enable-swap-to-prevent-app-killing/
          参考下这篇文章,但因为XA2会默认开512M的swap,所以先得swapoff /dev/zram0,才能修改大小,这段添加在以上教程的mkswap中就可以。

          Do my best !

          Z 1 Reply Last reply Reply Quote 1
          • Z
            Zhangyachuang @Timeral last edited by

            @timeral 真的可以诶,谢谢大佬,我把zram0调到了6G,内存不爆了,腰腿也不疼了,吃麻麻香。但是毕竟是swap,速度还是比物理内存慢好多

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Copyright © 2017-2021 旗鱼俱乐部 旗鱼系统交流论坛
            🐟🐠🐡论坛客户端下载🐟🐠🐡
            友情链接 SailfishOS.org | Jolla | 官方论坛 | 第三方商店 | BirdZhang的博客
            除非另有声明,本网站采用知识共享“署名 4.0 中国大陆”许可协议授权。
            根据相关法律法规,本站不对欧盟用户提供服务。
            Powered by NodeBB