FG
💻 Software

Unnecessary Swapping in Linux

Fresh7 days ago
Mar 15, 20261611 views
Confidence Score0%
0%

Problem

It seems that sometimes, my computer will start swapping unnecessarily (memory usuage is ~25%), and I can't figure out why. It seems to happen most often when running Perl scripts, but these aren't intensive scripts, and I can't find any thing saying that Perl can only see a certain amount of memor…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Unnecessary Swapping in Linux

Low Risk

My suggestion is setting your swappiness to 0. Setting your swappiness to a "lower number" may reduce the "frequency" of using swap, but setting it to 0 will force the kernel down a different code path, forcing all memory allocation to first use up …

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment