Your application is using more memory, It is still running instead...

@devopscube
DevopsCube@devopscube
18 views Nov 02, 2025 ~1 min read
Advertisement
1
Your application is using more memory,

It is still running instead of crashing, but it is feels slow, whyπŸ‘‡

Let’s take a real-world scenario.

You have a containerized application running. Over time, the app grows, caches more data, and loads more into memory.

At some point, the app becomes slower, though it doesn't crash.

This happens because the Operating System uses paging behind the scenes.

What is paging?

Paging is a method the OS uses to effectively handle the RAM.

Here is how it works

- The system will divide the memory of a program (virtual memory) into small fixed size blocks called pages
- The actual physical memory is also divided into fixed size blocks called frames.
- The OS maintains a table to map these pages and frames.
- So, if a program performs an operation, pages will be loaded into frames.
- But, if it does not have enough memory, the OS moves some of the old pages from memory to storage (Swap)

So, one of the reason that your app as well as the entire system seem slow is because of the excessive paging.

14,000+ DevOps engineers read our Devops newsletter

𝗝𝗼𝗢𝗻 𝗛𝗲𝗿𝗲 (π—œπ˜π˜€ 𝗳𝗿𝗲𝗲): newsletter.devopscube.com/subscribe

We send deep dives, practical tips, and guides straight to your inbox.

#linux #devops
Media image
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement