Is there a real problem? There doesn't seem to be any memory pressure as no swap space is used.What's the beef? Are you worried about the RAM you paid for being actually used? [by rgorn]
Today, a monitoring system indicated that one of the systems in the company has run out of memory. Executing htop on this system indicated that the Memory was nearly full (~8GB) even as the Swap Space (~0.5GB).
From this post, I know the swap space is correlated to physical memory. So assume the physical memory and the swap space are both 4 GB. Although theoretically, the memory space of the 64-bit application is near to 2^64 (certainly, the kernel will occupy some space), but per my understanding, the actual memory the application can use is only 8 GB.
i'm newbie in linux.gnome warns me that i don't have enough hard space.and when i look i see that i have a 5G swap memory.
and when i look at system monitor i see that linux almost never uses swap memory because i have 4g ram.and swap will be usefull while ram is full.
i want to decrease my swap memory and make it 3g.is it possible to decrease it and add the extra 1g to the root???