Do I need a swap partition?

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
baj
Level 2
Level 2
Posts: 92
Joined: Mon Feb 11, 2013 1:36 am

Do I need a swap partition?

Post by baj »

Hello,

I am setting up a new laptop with an SSD and 24GB of RAM. I dual boot Win7 and Mint 13 Mate, so I don't hibernate. I also don't use sleep, if that matters. The cold boot with the SSD is very fast.

I set it up without a swap file thinking I didn't need it (not with current software and 24GB of RAM), but before I "go live" with this laptop I wanted to make sure I didn't make a fatal error.

Thanks,
-Brad
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
caf4926
Level 7
Level 7
Posts: 1916
Joined: Mon Mar 22, 2010 3:21 pm
Location: Argyll and Bute

Re: Do I need a swap partition?

Post by caf4926 »

With 24GB RAM, you will not need swap
Linux Mint 21.1 Cinnamon
DavePlummer

Re: Do I need a swap partition?

Post by DavePlummer »

I've operated a desktop with 4GB of RAM, a laptop with 4GB of RAM, and a file server with 2GB of RAM for about two years with no problems. :)
Orbmiser

Re: Do I need a swap partition?

Post by Orbmiser »

Yep gone are the days of needing swap for the most part.

Have 4gb of ram and rarely see swap used. Tho comes in handy doing Video or Raw Image editing.
As ram use really climbs when doing editing with multiple actions on 4gb ram so have 4gb swap.
On a 24gb I wouldn't even see a need for swap.
.
Skara Brae

Re: Do I need a swap partition?

Post by Skara Brae »

Just for fun, I have opened all the programs in the "All" list :)

System Monitor says that 2.6 Gb of my 4 Gb RAM are used. Swap is 4.8 Mb "full" (of the 4 Gb that were automatically made during install - a bit much for swap, but what the heck).

So, with everything open, 2.6 of 4 Gb RAM is used, and only 4.8 Mb swap.
User avatar
nunol
Level 9
Level 9
Posts: 2633
Joined: Sun Mar 06, 2011 9:25 pm
Location: Portugal

Re: Do I need a swap partition?

Post by nunol »

Orbmiser wrote:On a 24gb I wouldn't even see a need for swap.
It will depend on the type of utilization. For typical use I don't even see the need for 24GB of RAM but some specific uses may use a lot of RAM and need a lot of SWAP like servers, playing with a lot of VM's, graphics and video editing, some scientific computations, etc.
alicajmacandie

Re: Do I need a swap partition?

Post by alicajmacandie »

caf4926 wrote:With 24GB RAM, you will not need swap
I have to agree.
Locked

Return to “Beginner Questions”