From 5a8ae8e9161fb0a0c48ee7d3737551ed0fb54e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fellipe=20Alfonso=20Gonz=C3=A1lez?= Date: Thu, 16 May 2024 08:43:12 -0400 Subject: [PATCH] Updates --- src/opticpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opticpu.c b/src/opticpu.c index af028c9..fe91e22 100644 --- a/src/opticpu.c +++ b/src/opticpu.c @@ -51,7 +51,7 @@ void optimize_memory() { if (used > MAX_MEM_USAGE) { // logic to adjust memory settings if needed // system("sysctl vm.swappiness=10"); - system("sysctl vm.swappiness=10"); + system("sudo sysctl vm.swappiness=10"); } } }