2
votes
1answer
98 views

Sorted tree view in htop or alternative?

I am running a Debian flavor of Linux, and I use htop to keep track of memory usage, since it is more detailed than top. I can't seem to get it to sort by memory and display process trees at the same ...
2
votes
2answers
380 views

Where are Page tables stored

My question is "where are the page tables stored: in physical memory (RAM) or as some data structure in User space". PS: What I have understood so far: A process memory layout has few segments ( ...
2
votes
2answers
251 views

Can I use Nand flash as a swap memory in Embedded Linux?

I have 128 MB of Ram in one of my products, which was sufficient when we released first version of the product. But now we added some extra features in it, So this much Ram may cause a problem of OOM. ...
2
votes
2answers
216 views

Sources of Linux memory usage not in /proc/meminfo

I’m running a Linux server that shows weird patterns in memory usage that I’m trying to investigate. During normal operation, around 200MB of memory are used for applications according to munin, but ...
8
votes
1answer
399 views

Which files are cached by linux?

I understand that linux uses unused RAM to keep some files cached. But I wonder, which files it actually caches! If you take a look at free : Gesamt Belegt Frei Gemeinsam Puffer Cached Speicher: ...
10
votes
1answer
434 views

increase desktop responsiveness on linux while swapping

All GNU/Linux distributions I tested so far have the problem that whenever the ram gets filled and the system begins swapping, the whole desktop and graphical user interface becomes unresponsive as ...
1
vote
2answers
1k views

How to activate swap on Linux? “swapon -a” doesn't seem to work?

My computer has quite some memory (6GB) which is enough for most of what I do. A while back I was messing with my swap, turning it on and off with sudo swapon -a and sudo swapoff -a. In then end I ...
2
votes
0answers
297 views

Random freezing caused by khugepaged?

I have a fairly beefy Arch Linux computer, kernel 3.7.7-1-ARCH. However, recently it's been having random freeze ups. Never common, but it'd freeze for a good 15 seconds where no program is ...
0
votes
0answers
527 views

Kernel OOM killer been called when plenty of memory left while using malloc

The program is a memory exerciser that request multiple chunks of 512MB to malloc. For some reason the node 0 is been memory exhausted while the others are not been called. MemExerciser cpuset=/ ...
4
votes
2answers
246 views

About memory cache of Linux

I'm running a python script to do some statistics and the actually memory which used is low,about 10%.And no other process cost more memory.However,when i use free -m and it shows that almost 95% ...
1
vote
1answer
346 views

vmstat's Total Memory Statistic

I am analyzing memory usage on a Linux system. When I run vmstat -s, I see the following: waffleman@waffle-iron:~$ vmstat -s 3549184 K total memory 3206708 K used memory 1918012 K ...
0
votes
1answer
2k views

Understanding RAM usage on Linux

I'm completely new to Linux and I'm just trying to understand where all my RAM is going. I've got a pretty fresh install of Xubuntu running as a VMWare guest, and I've given it 1.5GB RAM to play with. ...
8
votes
3answers
5k views

Why does my 32bit ubuntu see 8GB of RAM?

I have just installed a fresh copy of ubuntu 11.04 32 bit and I was surprised to see that the OS can see my 8GB of RAM not like Windows 32 bit OS. How does it work? How is the address mapping ...
2
votes
1answer
422 views

What I should know about memory management?

first of all: I don't use stackadmin or similar so please don't vote for moving there, I'm reading man top and paper "what every programmer should know about memory ..." I need really simple ...
0
votes
2answers
408 views

Out of memory Problem

I'm running a C++ program in Ubuntu 10.04 (32-bit system architecture). If I calculate the amount of memory that my program uses, it comes up to 800MB. I have a 4GB RAM in place. But still before the ...
3
votes
3answers
1k views

Detecting source of memory usage on a Linux box

I have a toy Linux box with 256mb RAM running Ubuntu 10.04.1 LTS. Here is the output of free -m: total used free shared buffers cached Mem: 245 ...
1
vote
3answers
119 views

Resources of minimized programs in Linux

When a program is minimized to the taskbar in Linux does it use less resources?
5
votes
1answer
4k views

How do I limit the memory usage of a specific process in linux?

I've written a program for a class that my professor will be testing in various low memory environments to see how it behaves when the program runs out of memory. Is there a way I can simulate the ...
0
votes
2answers
2k views

Clarification on the Shared Memory column in the Linux top utility

We are having a memory allocation issues with a program running under Linux. We are using the top utility to try and determine the root cause of the problem. One thing that we have noticed is that ...