I'll be basically doing programming and stuff.
3
-
Anywhere between 2 to 4 GB should be OK, but it's completely upto you as to how much you should allocate.
Sep 14, 2016 at 13:20
-
4
-
Normally your system will get soooo slow once it has to swap out even only 2GB that it's barely usable any more, so you would go exit some applications anyway. So 2GB plus a bit extra to be safe should be enough.
Sep 14, 2016 at 13:42
Add a comment |
The standard recommendation for swap space is double your RAM, but if you have 4 GB RAM or more, you can usually get away with less swap space. For instance, I recently upgraded my desktop machine from 4 GB to 8 GB RAM, and didn't bother changing the size of my swap space -- it's still equal to my RAM, so it's unlikely I'll overrun it.
answered Sep 14, 2016 at 13:22
Zeiss IkonZeiss Ikon
5,11855 gold badges2020 silver badges3636 bronze badges
Add a comment |
For 2 GB RAM you should have at least 2 GB swap memory or more but ideally it should be double of your RAM (in this case 4 GB)
Add a comment |
As someone deeply entrenched in the realm of programming and system optimization, I've encountered numerous discussions on memory management, particularly within the context of Linux systems like Kubuntu. My expertise spans both theoretical understanding and practical application, allowing me to dissect the nuances of topics like swap memory usage with precision.
The provided snippet is a glimpse into a query related to configuring swap memory on a Kubuntu system, dated September 14, 2016. The user seeks advice on the optimal allocation of swap memory, a critical aspect of system performance and stability. Now, let's break down the key concepts and insights provided in the discussion:
-
Recommended Swap Size:
- The initial response suggests an allocation between 2 to 4 GB, emphasizing user discretion in determining the exact amount based on individual needs.
-
System Responsiveness:
- Byte Commander underscores the impact of system slowdown when swap usage reaches around 2GB, indicating that allocating a bit more than 2GB is advisable for a smoother experience.
-
Standard Swap Recommendation:
- Zeiss Ikon contributes a standard guideline recommending swap space to be double the RAM size. However, a personal example is cited where an upgrade to 8 GB RAM didn't prompt a corresponding adjustment in swap space, suggesting that higher RAM configurations may require less swap.
-
Ideal Swap Size Formula:
- Jay Patel provides a concise formula, stating that for a system with 2 GB RAM, the swap should ideally be at least 2 GB, with the preferred size being double the RAM (4 GB in this case).
-
User Recommendations:
- Throughout the discussion, there's an emphasis on user discretion and practical considerations. Users are encouraged to monitor their system's behavior and adjust swap space accordingly.
In conclusion, the recommendations revolve around a dynamic approach to swap memory allocation, considering factors such as RAM size, system responsiveness, and individual usage patterns. The community consensus leans towards flexibility, allowing users to adapt their swap configurations based on real-world observations. This nuanced understanding reflects a comprehensive grasp of the intricacies involved in optimizing system resources for an enhanced computing experience.