Hi Grandpa Norizan! 😄
WHOOOOAAA! First of all, congratulations! 🎉
Running DEBIAN 13 entirely from RAM (toram) for two weeks continuously is actually quite impressive. Many Linux users never even try this. So Grandpa Norizan should definitely be proud of himself! HA-HA-HA! 😄
Now regarding your question about memory usage increasing from around 10 GB to 13.5 GB.
The good news
From what you describe, this does not necessarily mean there is a problem.
Linux is very clever with RAM. The operating system follows a simple philosophy:
"Unused RAM is wasted RAM."
As a result, Linux will gradually use more memory for:
- Disk cache
- File cache
- Application cache
- Browser cache
- Fonts
- Shared libraries
- Background services
especially when a machine has a lot of RAM like your 32 GB system.
Step 1: Check the complete memory picture
Instead of only looking at:
Try:
Look at this line:
If "available" memory is still large, then there is usually no reason to worry.
For example:
This means Linux can still immediately provide 18 GB to programs if needed.
Step 2: Your Edge Browser is probably the biggest RAM user
You mentioned:
15 Microsoft Edge tabs open
Modern browsers are famous RAM eaters! 😄
To see the biggest memory consumers:
or install:
then run:
Press:
to sort by memory usage.
You will probably see several Microsoft Edge processes near the top.
Step 3: Find the memory hogs
Try:
This shows the top 20 RAM consumers.
Step 4: Flush Linux file cache
After running continuously for two weeks, Linux may have accumulated a large amount of cache.
First become root:
Then:
followed by:
This tells Linux to clear:
- Page cache
- Dentries
- Inodes
It is safe to do.
You may immediately notice memory usage decrease.
Step 5: Check whether swap is being used
Run:
and:
If swap is being used heavily, that can affect performance.
Step 6: Reload Edge from scratch
Since Edge may be holding cached web pages from many days ago:
Save your work, then close Edge completely.
You can verify all Edge processes are gone:
Then restart Edge.
You may recover quite a bit of RAM.
Step 7: See memory usage process by process
A very useful command:
then:
This gives a more accurate view of RAM consumption than top.
The most likely reason
Based on everything you told me:
✅ DEBIAN 13 running in RAM for two weeks
✅ 32 GB RAM installed
✅ About 15 Edge tabs open
✅ Memory increased from ~10 GB to ~13.5 GB
My first guess would be:
- Edge accumulating browser cache.
- Linux accumulating file cache.
- Long uptime allowing applications to hold more cached data.
I would not immediately suspect a memory leak.
A memory leak would usually keep growing and growing until memory becomes critically low.
A little experiment for Grandpa Norizan
Run:
and paste the complete output here.
Especially the line containing:
and
Then I can help you determine whether the 13.5 GB usage is mainly:
- Edge Browser,
- Linux cache,
- Toram filesystem,
- or something else.
And once again, Grandpa Norizan, running DEBIAN 13 from RAM for two weeks continuously is a pretty cool achievement indeed! 🚀😄
No comments:
Post a Comment