Sponsored Content
Operating Systems Linux Linux Server free memory decreases Post 302261589 by s93366 on Tuesday 25th of November 2008 05:50:42 AM
Old 11-25-2008
it might be that linux uses free memory for caches (it fills up as the server runs).

example:

# free -m

total used free shared buffers cached
Mem: 7985 7798 187 0 145 2493
-/+ buffers/cache: 5158 2826
Swap: 1983 0 1983


This machine has 8gb of ram and is using (2.5GB as cache)

If an application needs this memory it will get it.'

or you might have a memory leak ....
 

10 More Discussions You Might Find Interesting

1. Programming

Determining free(available) memory in MV linux

HI I'm a rookie in C programming and I'm working in Monta Vista Linux. I have to write a program that displays free memory. I have memtester(allready written by someone else) and now I have to type how much amount of memory tester will test and I want that memtester finds out himself how much of... (11 Replies)
Discussion started by: trancedeejay
11 Replies

2. Linux

Free Linux Memory by Dropping Caches

Linux Kernels 2.6.16 and up provide a way to instruct the kernel to drop the page cache, inode and dentry caches on command. This tip can help free Linux memory without a reboot. Note: This is a non-destructive operation. Dirty objects are not freeable, hence; you must run sync beforehand. ... (0 Replies)
Discussion started by: Neo
0 Replies

3. UNIX for Dummies Questions & Answers

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (1 Reply)
Discussion started by: Jaywantmm
1 Replies

4. Solaris

How to find Total and Free Physical Memory and Logical Memory in SOLARIS 9

Hi, Im working on Solaris 9 on SPARC-32 bit running on an Ultra-80, and I have to find out the following:- 1. Total Physical Memory in the system(total RAM). 2. Available Physical Memory(i.e. RAM Usage) 3. Total (Logical) Memory in the system 4. Available (Logical) Memory. I know... (4 Replies)
Discussion started by: 0ktalmagik
4 Replies

5. Linux

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (4 Replies)
Discussion started by: Jaywantmm
4 Replies

6. Solaris

how to get the more memory free space (see memory free column)

Hi all, Could please let me know how to get the more memory free space (not added the RAM) in local zone. -bash-3.00# vmstat 2 5 kthr memory page disk faults cpu r b w swap free re mf pi po fr de sr s0 s1 s1 s1 in sy cs us sy... (3 Replies)
Discussion started by: murthy76
3 Replies

7. UNIX for Advanced & Expert Users

Out of Memory error when free memory size is large

I was running a program and it stopped and showed "Out of Memory!". at that time, the RAM used by this process is around 4G and the free memory size of the machine is around 30G. Does anybody know what maybe the reason? this program is written with Perl. the OS of the machine is Solaris U8. And I... (1 Reply)
Discussion started by: lilili07
1 Replies

8. UNIX for Advanced & Expert Users

free memory in debian linux

hi- im running glassfish 3.1 on debian server and there are times where I need to start the domain when we cannot access the web application. I checked the memory and it's confusing me. Am i still ok? can you explain the below? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME... (1 Reply)
Discussion started by: lhareigh890
1 Replies

9. Solaris

Why mkfile decreases available memory?

Hi, we are experiencing very odd behavior. After "mkfile 1g <somefile>" the available memory seen through vmstat memory free column decreases by the same ammount. It doesn't matter where the <somefile> is located, even when the file is on NAS, the available memory decreases. When the file is... (2 Replies)
Discussion started by: jan_bar
2 Replies

10. AIX

How much total and free memory I have in my aix 5.3 server?

good morning, how I can know how much total and free memory I have in my AIX 5.3 server, and this is shown in megabytes or gigabytes? Thank you very much. (4 Replies)
Discussion started by: systemoper
4 Replies
FREE(1) 							Linux User's Manual							   FREE(1)

NAME
free - Display amount of free and used memory in the system SYNOPSIS
free [-b | -k | -m] [-o] [-s delay ] [-t] [-V] DESCRIPTION
free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The shared memory column should be ignored; it is obsolete. Options The -b switch displays the amount of memory in bytes; the -k switch (set by default) displays it in kilobytes; the -m switch displays it in megabytes. The -t switch displays a line containing the totals. The -o switch disables the display of a "buffer adjusted" line. If the -o option is not specified, free subtracts buffer memory from the used memory and adds it to the free memory reported. The -s switch activates continuous polling delay seconds apart. You may actually specify any floating point number for delay, usleep(3) is used for microsecond resolution delay times. The -V displays version information. FILES
/proc/meminfo-- memory information SEE ALSO
ps(1), slabtop(1), vmstat(8), top(1) AUTHORS
Written by Brian Edmonds. Send bug reports to <albert@users.sf.net> Cohesive Systems 20 Mar 1993 FREE(1)
All times are GMT -4. The time now is 06:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy