What is this 6.3GB of hard disk space allocated as “Swap”? [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite













This question already has an answer here:



  • What is a “Swap Area”?

    3 answers



I installed Ubuntu in dual boot, so I have one partition for Windows, and another for Ubuntu. However, when I check the partitions I see that I have 6.3GB of space formatted as Linux swap. I do not know why I have that partition. Can I format it to use?



partitions in Disks utility










share|improve this question















marked as duplicate by pomsky, N0rbert, user535733, muru, Eric Carvalho Mar 2 at 12: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.














  • More information about swap can be found at Ubuntu swap FAQ
    – stumblebee
    Feb 28 at 6:14














up vote
1
down vote

favorite













This question already has an answer here:



  • What is a “Swap Area”?

    3 answers



I installed Ubuntu in dual boot, so I have one partition for Windows, and another for Ubuntu. However, when I check the partitions I see that I have 6.3GB of space formatted as Linux swap. I do not know why I have that partition. Can I format it to use?



partitions in Disks utility










share|improve this question















marked as duplicate by pomsky, N0rbert, user535733, muru, Eric Carvalho Mar 2 at 12: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.














  • More information about swap can be found at Ubuntu swap FAQ
    – stumblebee
    Feb 28 at 6:14












up vote
1
down vote

favorite









up vote
1
down vote

favorite












This question already has an answer here:



  • What is a “Swap Area”?

    3 answers



I installed Ubuntu in dual boot, so I have one partition for Windows, and another for Ubuntu. However, when I check the partitions I see that I have 6.3GB of space formatted as Linux swap. I do not know why I have that partition. Can I format it to use?



partitions in Disks utility










share|improve this question
















This question already has an answer here:



  • What is a “Swap Area”?

    3 answers



I installed Ubuntu in dual boot, so I have one partition for Windows, and another for Ubuntu. However, when I check the partitions I see that I have 6.3GB of space formatted as Linux swap. I do not know why I have that partition. Can I format it to use?



partitions in Disks utility





This question already has an answer here:



  • What is a “Swap Area”?

    3 answers







dual-boot partitioning swap






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 28 at 7:01









Zanna

48.2k13120228




48.2k13120228










asked Feb 28 at 5:04









Tinh Lac

113




113




marked as duplicate by pomsky, N0rbert, user535733, muru, Eric Carvalho Mar 2 at 12: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 pomsky, N0rbert, user535733, muru, Eric Carvalho Mar 2 at 12: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.













  • More information about swap can be found at Ubuntu swap FAQ
    – stumblebee
    Feb 28 at 6:14
















  • More information about swap can be found at Ubuntu swap FAQ
    – stumblebee
    Feb 28 at 6:14















More information about swap can be found at Ubuntu swap FAQ
– stumblebee
Feb 28 at 6:14




More information about swap can be found at Ubuntu swap FAQ
– stumblebee
Feb 28 at 6:14










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Linux divides a memory into chunks of memory called pages. When your system needs more memory than you have available, the kernel swaps out less used pages and gives memory to the current application that needs more memory and also it is used to store pages that a application on startup that used only on startup and never used again.



A typical swap partition should be double the size of your memory.(However, The size we can give to swap entirely depends on your RAM and your working processes)






share|improve this answer



























    up vote
    0
    down vote













    Swap space is the Linux equivalent of a Windows page file. It's there for preventing out-of-memory situations.






    share|improve this answer




















    • Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
      – Tinh Lac
      Feb 28 at 5:11










    • There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
      – dsstorefile1
      Feb 28 at 5:20











    • Thanks. it is more clear now.
      – Tinh Lac
      Feb 28 at 5:39

















    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    Linux divides a memory into chunks of memory called pages. When your system needs more memory than you have available, the kernel swaps out less used pages and gives memory to the current application that needs more memory and also it is used to store pages that a application on startup that used only on startup and never used again.



    A typical swap partition should be double the size of your memory.(However, The size we can give to swap entirely depends on your RAM and your working processes)






    share|improve this answer
























      up vote
      1
      down vote



      accepted










      Linux divides a memory into chunks of memory called pages. When your system needs more memory than you have available, the kernel swaps out less used pages and gives memory to the current application that needs more memory and also it is used to store pages that a application on startup that used only on startup and never used again.



      A typical swap partition should be double the size of your memory.(However, The size we can give to swap entirely depends on your RAM and your working processes)






      share|improve this answer






















        up vote
        1
        down vote



        accepted







        up vote
        1
        down vote



        accepted






        Linux divides a memory into chunks of memory called pages. When your system needs more memory than you have available, the kernel swaps out less used pages and gives memory to the current application that needs more memory and also it is used to store pages that a application on startup that used only on startup and never used again.



        A typical swap partition should be double the size of your memory.(However, The size we can give to swap entirely depends on your RAM and your working processes)






        share|improve this answer












        Linux divides a memory into chunks of memory called pages. When your system needs more memory than you have available, the kernel swaps out less used pages and gives memory to the current application that needs more memory and also it is used to store pages that a application on startup that used only on startup and never used again.



        A typical swap partition should be double the size of your memory.(However, The size we can give to swap entirely depends on your RAM and your working processes)







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 28 at 5:17









        janasaiarun

        174114




        174114






















            up vote
            0
            down vote













            Swap space is the Linux equivalent of a Windows page file. It's there for preventing out-of-memory situations.






            share|improve this answer




















            • Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
              – Tinh Lac
              Feb 28 at 5:11










            • There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
              – dsstorefile1
              Feb 28 at 5:20











            • Thanks. it is more clear now.
              – Tinh Lac
              Feb 28 at 5:39














            up vote
            0
            down vote













            Swap space is the Linux equivalent of a Windows page file. It's there for preventing out-of-memory situations.






            share|improve this answer




















            • Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
              – Tinh Lac
              Feb 28 at 5:11










            • There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
              – dsstorefile1
              Feb 28 at 5:20











            • Thanks. it is more clear now.
              – Tinh Lac
              Feb 28 at 5:39












            up vote
            0
            down vote










            up vote
            0
            down vote









            Swap space is the Linux equivalent of a Windows page file. It's there for preventing out-of-memory situations.






            share|improve this answer












            Swap space is the Linux equivalent of a Windows page file. It's there for preventing out-of-memory situations.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Feb 28 at 5:06









            dsstorefile1

            1,312111




            1,312111











            • Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
              – Tinh Lac
              Feb 28 at 5:11










            • There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
              – dsstorefile1
              Feb 28 at 5:20











            • Thanks. it is more clear now.
              – Tinh Lac
              Feb 28 at 5:39
















            • Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
              – Tinh Lac
              Feb 28 at 5:11










            • There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
              – dsstorefile1
              Feb 28 at 5:20











            • Thanks. it is more clear now.
              – Tinh Lac
              Feb 28 at 5:39















            Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
            – Tinh Lac
            Feb 28 at 5:11




            Thanks. however, does the swap space has to be that large. I only have about 50GB of my ssd for Ubuntu, and it already took more than 10% of the total space.
            – Tinh Lac
            Feb 28 at 5:11












            There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
            – dsstorefile1
            Feb 28 at 5:20





            There's no hard-and-fast-rule about how much swap you need since it depends on your needs. If you have >= 4GB of memory, it's probably safe to shrink the swap partition down to 3-4GB.
            – dsstorefile1
            Feb 28 at 5:20













            Thanks. it is more clear now.
            – Tinh Lac
            Feb 28 at 5:39




            Thanks. it is more clear now.
            – Tinh Lac
            Feb 28 at 5:39


            Popular posts from this blog

            pylint3 and pip3 broken

            Missing snmpget and snmpwalk

            How to enroll fingerprints to Ubuntu 17.10 with VFS491