!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

402 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)90 Servers

Load older messages


SenderMessageTime
20 Apr 2025
@k900:0upti.meK900Swap is where things you don't use are dumped from memory15:31:26
@k900:0upti.meK900* Swap is where things you don't use are dumped to from memory15:31:29
@k900:0upti.meK900Yeah15:31:38
@andrew15_5:matrix.orgAndrewwell, yes, but are they dumped because there is more free space for that? or will this not happen if swap is disabled?15:35:40
@andrew15_5:matrix.orgAndrew* well, yes, but are they dumped because there is more free space for that? or will this not happen if swap is disabled?15:35:49
@andrew15_5:matrix.orgAndrew* well, yes, but are they dumped because there is more free space for that? will the same amount of memory be allocated if swap was disabled?15:36:25
@k900:0upti.meK900If it doesn't happen, things will be kept in RAM15:36:15
@andrew15_5:matrix.orgAndrewSo my RAM usage would be 13.8 GiB by now?15:38:10
@k900:0upti.meK900Swap should not count to your RAM usage15:38:21
@andrew15_5:matrix.orgAndrewit should not?15:38:52
@k900:0upti.meK900Generally no15:39:02
@k900:0upti.meK900It's another thing15:39:04
@k900:0upti.meK900That is used in addition to RAM15:39:08
@andrew15_5:matrix.orgAndrewI always thought it's an extension of RAM.15:39:14
@k900:0upti.meK900It is, but it also isn't15:39:24
@andrew15_5:matrix.orgAndrew* I always thought it's an extension of RAM, because you don't have enough of it.15:39:29
@andrew15_5:matrix.orgAndrewbruh15:39:34
@k900:0upti.meK900Swap is basically a second storage space15:40:22
@k900:0upti.meK900Where things that are not actively used in memory get offloaded ot15:40:36
@k900:0upti.meK900* Where things that are not actively used in memory get offloaded to15:40:37
@andrew15_5:matrix.orgAndrewI fear that if I were to remove swap now, it will populate ram and my system will choke to death again. Or very soon, since 13.8 GiB for idle system is way too much.15:41:49
@andrew15_5:matrix.orgAndrew And I already experienced permanent freeze when doing swapoff. 15:43:10
@k900:0upti.meK900A lot of that is disk cache15:43:21
@andrew15_5:matrix.orgAndrewAnd what does that change?15:44:18
@andrew15_5:matrix.orgAndrew
               total        used        free      shared  buff/cache   available
Mem:            15Gi        12Gi       167Mi       1.0Gi       3.8Gi       2.6Gi
Swap:             0B          0B          0B
15:50:56
@andrew15_5:matrix.orgAndrewso the cached, available, free decreased, while used increased. And swapped converted from 7.4 GiB on disk, to 6.3 in RAM.15:52:49
@andrew15_5:matrix.orgAndrewI stopped swapspace. Now I wanna know if these 12.5 GiB will die down a bit over time, or will it increase over time and freeze my system.15:54:02
@k900:0upti.meK900 It's complicated 15:55:05
@k900:0upti.meK900 That's not how it works 15:55:19
@k900:0upti.meK900Unused RAM is wasted RAM15:55:25

Show newer messages


Back to Room ListRoom Version: 6