In my Ubuntu 11.10 VPS, Before I run the jar file:
# free -m
total used free shared buffers cached
Mem: 256 5 250 0 0 0
-/+ buffers/cache: 5 250
Swap: 0 0 0
Run a jar file that limited to maximum of 32M memory:
java -Xms8m -Xmx32m -jar ./my.jar
Now the memory
can anyone tell me where the memory is gone:
(no, this time neither buffers nor cache)
# free
total used free shared buffers cached
Mem: 3928200 3868560 59640 0 2888 92924
-/+ buffers/cache: 3772748 155452
Swap: 4192956 226352 3966604
top, sorted by memory, descending:
top - 13:42:06 up 1 day, 3:47, 2 u
I have an issue where when I try to build a really large project, my machine starts swapping (several GB) even though there's plenty of memory (14 GB in fact).
we have a server with 8GB, running mysql, 4 java applications and a small postgres db.
Can you help me understand what is taking memory on my linux box?
When I run free command I see the following picture (14GB are used, 10GB are free):
total used free shared buffers cached
Mem: 24724636 14428580 10296056 0 699100 7763272
-/+ buffers/cache: 5966208 18758428
Swap: 26836984 20776 26816208
But when I run t
I have two servers, server1 and server2. Both of them are identical HP blades, running the exact same OS (RHEL 5.5).
I have a Java program running on my Ubuntu 10.04 machine that makes tens of thousands of DB queries and creates tens of thousands of files.
i would like to get the value -/+ buffers/cache used who is 212, how can i do this?
i have free -m | grep -i mem | awk '{ print $2 }' for get value of total memory
total used free shared buffers cached
Mem: 7972 1237 6735 0 465 558
-/+ buffers/cache: 212 7760
Swap: 8001 0
I'm operating a little storage server on debian, over the past months I've noticed the process udisks-daemon eating up almost all available memory.
Is this just really aggressive caching or a memory leak?
uname -a
Linux Proto 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux
free -m
total used free shared buffers cached
Mem: 7999