Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8767493
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:49:38+00:00 2026-06-13T16:49:38+00:00

Is cached memory on a Linux server free, i.e. free to be used by

  • 0

Is cached memory on a Linux server “free”, i.e. free to be used by other applications?

I’m aware that Linux memory is used differently than on Windows…

But I only have a few MB of free memory and 1.2GB of cached memory:

             total       used       free     shared    buffers     cached
Mem:          3945       3893         51          0         28       1216
-/+ buffers/cache:       2648       1296
Swap:         3895        857       3038

Is that chached memory used like “not available”?

Does it make sense to regulary drop the cache? Right after flushing I have:

             total       used       free     shared    buffers     cached
Mem:          3945       2820       1125          0          1        197
-/+ buffers/cache:       2621       1323
Swap:         3895        851       3044

1 hour later it’s back to the old state with 1.2 GB chached memory.

cat /proc/meminfo 1 hour after flushing:

MemTotal:      4040048 kB
MemFree:         44636 kB
Buffers:         30172 kB
Cached:        1247868 kB
SwapCached:     137156 kB
Active:        3316940 kB
Inactive:       493920 kB
SwapTotal:     3989496 kB
SwapFree:      3101076 kB
Dirty:           25696 kB
Writeback:           0 kB
AnonPages:     2527784 kB
Mapped:         219676 kB
Slab:            52356 kB
SReclaimable:    21240 kB
SUnreclaim:      31116 kB
PageTables:      96668 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   6009520 kB
Committed_AS:  6223392 kB
VmallocTotal: 34359738367 kB
VmallocUsed:     18852 kB
VmallocChunk: 34359719439 kB
HugePages_Total:     0
HugePages_Free:      0
HugePages_Rsvd:      0
HugePages_Surp:      0
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:49:39+00:00Added an answer on June 13, 2026 at 4:49 pm

    Just to be clear, cached column is a subset of used. Memory being utilized by a process can be in used column alone, or both the used and cached column if that piece of memory is cached. Cached is just a report on how much of the used memory is cached.

    Memory items in cache are not free, but if you need space they will be dropped from cache and replaced with whatever is more frequently requested. However, your os is smart enought to keep frequently used blocks in cache–don’t try to outsmart you memory management–you will probally do worse overall.

    The reason those same items keep getting loaded into cache is that they are needed frequently. Not in cache items when required, still use up that memory space.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that SQL server use memory cache for the all operations by loading
I got a linux hardware server having 16GB of physical memory and running some
In the linux kernel, I wrote code that resembles copy_page_range (mm/memory.c) so copy memory
We have a dedicated database server that runs PostgreSQL 8.3 on linux debian. The
I want to force the Linux kernel to allocate more memory to applications after
I need a cache that responds to memory pressure like the one build-into ASP.NET.
In our application we are running on a dual Xeon server with memory configured
Firstly I appreciate that this question could be seen as subjective but I strongly
I have Sphinx Search running on a Linux server with 38GB of RAM. The
I want to allocate virtually contiguous range memory so that I can use the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.