Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

memory

Need explanation on Resident Set Size/Virtual Size

August 9, 2022 by Magenaut

I found that pidstat would be a good tool to monitor processes. I want to calculate the average memory usage of a particular process. Here is some example output:

Categories Q&A, Unix & Linux Tags linux, memory, process Leave a comment

how is page size determined in virtual address space?

August 9, 2022 by Magenaut

Linux uses a virtual memory system where all of the addresses are virtual addresses and not physical addresses. These virtual addresses are converted into physical addresses by the processor.

Categories Q&A, Unix & Linux Tags hardware, kernel, linux, memory Leave a comment

System hanging when it runs out of memory

August 9, 2022 by Magenaut

I’ve got an eeePC 900a: it has a 8GB flash as disk and only 1GB of RAM. The Linux distribution installed on it is ArchLinux.

Categories Q&A, Unix & Linux Tags freeze, linux, memory Leave a comment

How to fill 90% of the free memory?

August 9, 2022 by Magenaut

I want to do some low-resources testing and for that I need to have 90% of the free memory full.

Categories Q&A, Unix & Linux Tags memory, testing Leave a comment

What page replacement algorithms are used in Linux kernel for OS file cache?

August 9, 2022 by Magenaut

Linux uses the unused portions of memory for file caching, and it cleans up the space when needed.

Categories Q&A, Unix & Linux Tags linux, memory Leave a comment

What does the Virtual kernel Memory Layout in dmesg imply?

August 9, 2022 by Magenaut

While going through the “Output of dmesg” I could see a list of values which i am not able to understand properly.

Categories Q&A, Unix & Linux Tags kernel, linux, memory Leave a comment

Is the MMU inside of Unix/Linux kernel? or just in a hardware device with its own memory?

August 9, 2022 by Magenaut

So i always thought MMU is part of the unix kernel that translates addresses to physical addresses but in the MMU wiki page it says its a computer hardware that usually have its own memory, but that page doesn’t talk much about Unix/Linux operating systems

Categories Q&A, Unix & Linux Tags kernel, memory, virtual-memory Leave a comment

Out of swap – what happens?

August 8, 2022 by Magenaut

On my Debian VM machine with 512 MB RAM and 348 MB swap, what will happen if I open a 1 GB file in an editor and get out of memory?

Categories Q&A, Unix & Linux Tags memory, out-of-memory, swap Leave a comment

Shared library mappings in /proc/pid/maps

August 8, 2022 by Magenaut

Why does /proc/pid/maps contain a few records for the same library ? Here is an example:

Categories Q&A, Unix & Linux Tags linux, memory, process, shared-library, virtual-memory Leave a comment

what does mean by HardwareCorrupted, DirectMap4k, DirectMap2M fields in “/proc/meminfo” file of Linux?

August 8, 2022 by Magenaut

I am looking for description of following terms:

Categories Q&A, Unix & Linux Tags linux, memory, terminology Leave a comment
Older posts
Newer posts
← Previous Page1 … Page5 Page6 Page7 Page8 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress