The amount of memory required by a program or the system for a specific task.
Questions tagged [memory-usage]
589 questions
6
votes
1 answer
determining free memory from command line on Windows
I would like to monitor the free memory on four machines each running Windows Server 2003 R2 SP2 64-bit. Each box has 31.7gb of RAM. I would like to periodically run a command line tool so I can collect the output and later make charts with it.
I…
![](../../users/profiles/29237.webp)
Nate
- 184
- 1
- 2
- 6
6
votes
1 answer
htop shows 33% memory usage, but its Mem bar is full
When I run htop on a remote computer its Mem bar shows that memory is full and even swap shares 2.3G(also I can see the system works very slow). But htop's MEM% column shows about 33% memory usage. Also sum of RES column is about 3G which it…
![](../../users/profiles/446584.webp)
i.kiarazm
- 61
- 1
- 1
- 4
6
votes
4 answers
How is RAM and CPU allocated if no manual changes are applied to an Ubuntu Server
We have an Ubuntu Server (16.04) running R-Studio Server where we do statistical simulations. Those simulations are sometimes heavy on RAM and CPU so i would like to know how memory and RAM is allocated by the core if e.g. two users are logged in…
![](../../users/profiles/237687.webp)
joaoal
- 173
- 6
6
votes
4 answers
free shows more memory used than top process total
UPDATE:
This was being caused due to a known issue with nss-softkn. See this article:
https://www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken
When I run free -m from my centos 6.5 box I am seeing that I only have around 1400 mb of…
![](../../users/profiles/119327.webp)
ipengineer
- 215
- 2
- 3
- 9
6
votes
2 answers
Docker + Apache, how does memory usage work?
Let's say I have a docker host set up with 50 containers each running a site served by Apache.
As I understand it each container will have an Apache instance running and typically each Apache instance uses ~250mb per ram. Apache then requires a few…
![](../../users/profiles/217100.webp)
thexacre
- 1,849
- 12
- 14
6
votes
2 answers
Automatically suspend/hibernate a process when too much memory taken
I'm running a small Debian compute cluster on 8-core PCs with 16GB of RAM. I'm running batches of about 1k tasks (each batch has a total expected time of a month to be finished). A single task is single-threaded (so I can run multiple of them in…
![](../../users/profiles/16081.webp)
liori
- 737
- 3
- 14
6
votes
3 answers
What does monit consider to be memory usage?
Once can have monit monitor memory usage…
check system foo
if memory usage > 95% then alert
Does it use free RAM, or free -/+ buffers/cache? (or something else?)
# free -m
total used free shared buffers …
![](../../users/profiles/19317.webp)
John Bachir
- 2,344
- 7
- 29
- 37
6
votes
2 answers
apache eats up too much ram per child
I've got fallowing problem: Apache eat to many ram per child.
The fallowing comments shows:
cat /etc/redhat-release -- Fedora release 8 (Werewolf)
free -m:
total used free shared buffers cached
Mem: …
![](../../users/profiles/43678.webp)
MrC4r7m4n
- 63
- 2
- 6
5
votes
2 answers
Why is MemAvailable a lot less than MemFree+Buffers+Cached?
I'm running a Linux workstation without swap and I have installed earlyoom daemon to automatically kill some processes if I'm running out of RAM. The earlyoom works by monitoring kernel MemAvailable value and if the available memory gets low enough,…
![](../../users/profiles/104798.webp)
Mikko Rantalainen
- 858
- 12
- 27
5
votes
1 answer
What is the unit of a "page" in /proc//statm
According to the linux man pages of proc(5):
/proc/[pid]/statm
Provides information about memory usage, measured in pages. The columns are:
size (1) total program size
(same as VmSize in /proc/[pid]/status)
resident (2)…
![](../../users/profiles/100744.webp)
cauchi
- 187
- 2
- 6
5
votes
1 answer
The memory usage reported in cgroup differs from the free command
Why would the free command be reporting a much different mem usage number vs cgroup?
$ free -b
total used free shared buff/cache available
Mem: 2096914432 520863744 1112170496 35389440 463880192 …
![](../../users/profiles/461008.webp)
offbynull
- 203
- 2
- 7
5
votes
1 answer
Amazon RDS "Freeable Memory" decreasing rapidly
I have noticed recently that freeable memory on my Amazon RDS (db.m4.large instance) is decreasing rapidly. Over the past few weeks, it has come down rapidly from almost 3700 MB to 1000 MB. There hasn't been any issues with the applications though.…
![](../../users/profiles/379965.webp)
NoMadic
- 53
- 1
- 5
5
votes
2 answers
Swap with a huge amount of ram available
I have an old, legacy server with an odd problem with swap.
Linux version: Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Kernel version: 2.6.18-238.el5
Server is virtual.
Server has 2 virtual socket.
I know swap partition is to small,…
![](../../users/profiles/292615.webp)
user_0
- 151
- 1
- 5
5
votes
1 answer
Hyper-V dynamic memory not correctly assigning more memory
So, I got an alert from our monitoring system that there's less than 15% memory free on a virtual machine. I log in to investigate, it turns out that the VM in question is a Hyper-V VM with Dynamic Memory configured, running on Windows Server 2012…
![](../../users/profiles/102201.webp)
Per von Zweigbergk
- 2,615
- 2
- 17
- 27
5
votes
0 answers
Node.js Server with PM2 Crashing with error ENOMEM - but no memory leak
I have an EC2 instance running a node.js server (Express based).
After deploying in a new environment, my service had started crashing almost instantly with spawn ENOMEM Errors like this one:
Server logs do not indicate unusual activity. Diff from…
![](../../users/profiles/314116.webp)
Selfish
- 151
- 3