How do I enlarge zram? [duplicate]












0
















This question already has an answer here:




  • How to change zram size?

    4 answers




If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 gigabytes of zram.










share|improve this question













marked as duplicate by karel, Thomas, Eric Carvalho, vidarlo, Charles Green Jan 1 at 16:43


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.




















    0
















    This question already has an answer here:




    • How to change zram size?

      4 answers




    If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 gigabytes of zram.










    share|improve this question













    marked as duplicate by karel, Thomas, Eric Carvalho, vidarlo, Charles Green Jan 1 at 16:43


    This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


















      0












      0








      0


      0







      This question already has an answer here:




      • How to change zram size?

        4 answers




      If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 gigabytes of zram.










      share|improve this question















      This question already has an answer here:




      • How to change zram size?

        4 answers




      If I have zram installed on Ubuntu and I want to enlarge it. By default, I only have a 935 megabytes and I need more zram! Does anyone know how I could get more zram? I would like to have at least 3 gigabytes of zram.





      This question already has an answer here:




      • How to change zram size?

        4 answers








      zram






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 5 '15 at 23:20









      SnorriChinchillaSnorriChinchilla

      89413




      89413




      marked as duplicate by karel, Thomas, Eric Carvalho, vidarlo, Charles Green Jan 1 at 16:43


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






      marked as duplicate by karel, Thomas, Eric Carvalho, vidarlo, Charles Green Jan 1 at 16:43


      This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
























          2 Answers
          2






          active

          oldest

          votes


















          0














          In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.



          e.g. in terminal (CTRL+ALT+T):



          $ echo 3221225472 > /sys/block/zram0/disksize


          I've never used it myself, so I cannot guarantee that I'm even close to correct!






          share|improve this answer


























          • I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

            – SnorriChinchilla
            Nov 18 '15 at 2:36











          • A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

            – Cbhihe
            Apr 3 '16 at 20:31



















          0














          Don't know if this is what you are looking for, but see the question "How to change zram size?" and my answer at https://askubuntu.com/a/1105734/909021






          share|improve this answer



















          • 2





            It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

            – Kevin Bowen
            Dec 31 '18 at 2:24


















          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.



          e.g. in terminal (CTRL+ALT+T):



          $ echo 3221225472 > /sys/block/zram0/disksize


          I've never used it myself, so I cannot guarantee that I'm even close to correct!






          share|improve this answer


























          • I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

            – SnorriChinchilla
            Nov 18 '15 at 2:36











          • A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

            – Cbhihe
            Apr 3 '16 at 20:31
















          0














          In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.



          e.g. in terminal (CTRL+ALT+T):



          $ echo 3221225472 > /sys/block/zram0/disksize


          I've never used it myself, so I cannot guarantee that I'm even close to correct!






          share|improve this answer


























          • I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

            – SnorriChinchilla
            Nov 18 '15 at 2:36











          • A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

            – Cbhihe
            Apr 3 '16 at 20:31














          0












          0








          0







          In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.



          e.g. in terminal (CTRL+ALT+T):



          $ echo 3221225472 > /sys/block/zram0/disksize


          I've never used it myself, so I cannot guarantee that I'm even close to correct!






          share|improve this answer















          In reading this page: Compressed RAM with zRAM, it appears that you set the size of the volume by editing the /etc/init/zramswap.conf file and changing the line that points to your zRAM block device to match the size you want.



          e.g. in terminal (CTRL+ALT+T):



          $ echo 3221225472 > /sys/block/zram0/disksize


          I've never used it myself, so I cannot guarantee that I'm even close to correct!







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Apr 3 '16 at 18:44









          Cbhihe

          1,93711331




          1,93711331










          answered Nov 9 '15 at 0:52









          jfowliejfowlie

          1




          1













          • I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

            – SnorriChinchilla
            Nov 18 '15 at 2:36











          • A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

            – Cbhihe
            Apr 3 '16 at 20:31



















          • I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

            – SnorriChinchilla
            Nov 18 '15 at 2:36











          • A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

            – Cbhihe
            Apr 3 '16 at 20:31

















          I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

          – SnorriChinchilla
          Nov 18 '15 at 2:36





          I don't have ubuntu currently installed, but I plan on reinstalling it, so I will test this when I do install it.

          – SnorriChinchilla
          Nov 18 '15 at 2:36













          A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

          – Cbhihe
          Apr 3 '16 at 20:31





          A belated welcome to AU ! Thank you for yr answer. Make sure however that, when you provide an answer, it is tested and proven to such an extent, that OP may place a degree of trust in it/you. Your last line is a very strong disclaimer that runs against that principle.

          – Cbhihe
          Apr 3 '16 at 20:31













          0














          Don't know if this is what you are looking for, but see the question "How to change zram size?" and my answer at https://askubuntu.com/a/1105734/909021






          share|improve this answer



















          • 2





            It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

            – Kevin Bowen
            Dec 31 '18 at 2:24
















          0














          Don't know if this is what you are looking for, but see the question "How to change zram size?" and my answer at https://askubuntu.com/a/1105734/909021






          share|improve this answer



















          • 2





            It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

            – Kevin Bowen
            Dec 31 '18 at 2:24














          0












          0








          0







          Don't know if this is what you are looking for, but see the question "How to change zram size?" and my answer at https://askubuntu.com/a/1105734/909021






          share|improve this answer













          Don't know if this is what you are looking for, but see the question "How to change zram size?" and my answer at https://askubuntu.com/a/1105734/909021







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 31 '18 at 1:38









          dave58dave58

          11




          11








          • 2





            It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

            – Kevin Bowen
            Dec 31 '18 at 2:24














          • 2





            It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

            – Kevin Bowen
            Dec 31 '18 at 2:24








          2




          2





          It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

          – Kevin Bowen
          Dec 31 '18 at 2:24





          It would probably be more appropriate to mark this as a duplicate than to link to another AU answer if it answers the user's question.

          – Kevin Bowen
          Dec 31 '18 at 2:24



          Popular posts from this blog

          Mouse cursor on multiple screens with different PPI

          Agildo Ribeiro

          Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”