In computing, memory refers to the state information of a computing system, as it is kept active in some physical structure.

learn more… | top users | synonyms

0
votes
1answer
25 views

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

I am looking for description of following terms: HardwareCorrupted, DirectMap4k, DirectMap2M fields in "/proc/meminfo" file of Linux. I could find the following description for the fields from ...
1
vote
1answer
38 views

Who are the Linux Memory “subsystem” developers?

After an hour of googling, I still cannot find Linux Memory subsystem developers contact e-mail. Question: Where is the webpage that shows who develops the Linux kernel, specifically the Memory ...
0
votes
0answers
8 views

Can we trace back from a file object all the way back to a mm_struct who is indirectly pointing to it? [migrated]

I find this kernel structure (https://www.kernel.org/doc/gorman/html/understand/understand007.html). And I know the operating system will maintain a page cache for each file. So, through this ...
0
votes
1answer
22 views

What is kernel memory and user memory? (question about the term kernel page and the page cache)

Today, I have read through some documents about file system (http://tekrants.me/2014/07/14/linux-file-system-write/). And the term kernel page is mentioned several times in this article. I am now ...
2
votes
0answers
23 views

How to read the output of the show-memory-usage SysRq?

I couldn’t find any (recent) documentation on reading the output of the show-memory-usage SysRq (Alt+SysRq+m). So what can one learn from looking at it? Here is an example output form my box (Kernel ...
0
votes
1answer
31 views

git Fatal: Out of memory, malloc failed on branch push

I know this has been asked a lot but I did not manage to get any solution to solve my problem. My coworker assigned me on a new project. The application is hosted on test Debian server with git ...
0
votes
0answers
7 views

Where to find vma->fault()? [migrated]

I understand vma->fault() will take two arguments which are vma and vmf. But I am not sure what vma->fault() will do inside of itself because I cannot find the code or document that talks about ...
0
votes
0answers
18 views

Which parts of Memory can Swap Support

For this question, "swap" does not include RAM and only refers to the configured space on the disk. According to, http://www.ualberta.ca/CNS/RESEARCH/LinuxClusters/mem.html, a program's memory usage ...
2
votes
2answers
21 views

Utility which gives line from /proc/id/maps by specific address

Is there an utility that gives me specific line from /proc/id/maps when given specific address from this process? For example when given 0x7fb4a84f6008 it returns: 7fb4a84f6000-7fb4a84fd000 r-xp ...
3
votes
0answers
30 views

Limit the inode cache used by a command

I want to run a task with limits on the kernel objects that they will indirectly trigger. Note that this is not about the memory, threads, etc. used by the application, but about memory used by the ...
3
votes
1answer
29 views

Can swap space accomodate single process?

From what I understand, the swap space can be used to swap out inactive processes to free up memory. But can a single process take advantage of swap space? For example, if my system has little memory, ...
4
votes
0answers
60 views

Does anyone actually use and benefit from transparent huge pages?

I've been struggling with transparent huge pages performance issues of late, and noticed many database systems recommend turning it off. I am talking Oracle, Postgresql, MySQL, Cassandra, NuoDB, ...
1
vote
0answers
56 views

Ubuntu 14.04 using 100% swap space, with more than 40GB free memory, why?

I'm a bit at a loss trying to figure out why this would be the case. Can anyone provide some helpful ideas on troubleshooting this? $ free -m total used free shared ...
3
votes
1answer
22 views

Does /proc/[pid]/status always use kB?

Particularly, does proc always list the VmRSS value in kB? I can't find a solid answer on the documentation, although it appears that it sticks to one unit.
1
vote
1answer
37 views

How to check if allocated memory was freed?

Does anyone know which command I need to enter on the terminal, so I can check whether all allocated memory was successfully freed?
5
votes
1answer
32 views

What memory is not used by processes and freed by `echo 3 > /proc/sys/vm/drop_caches`?

Without programs open, my computer uses about 512M of memory. Yesterday, I had nothing open, yet 2 GB of mem use (used - cache = 2153): total used free shared buffers ...
0
votes
0answers
19 views

How to draw memory consuption plot

I am running one pipeline on ubuntu 12.4 platform and i would like to draw a memory consumption plot. Can anyone give some idea some idea. Thanks advance.
1
vote
2answers
69 views

What proportion of memory does the Linux kernel use of the installed RAM?

I'm developing a compute cluster and I'm trying to determine the maximum amount of RAM I can give to a single process. On a machine with 16GB of ram, the answer is that I can allocate (and touch) ...
1
vote
1answer
41 views

How are the values represented with the “free” command

I am interested in the totals of the 3 lines. Specifcally, if the "used" values can be counted as what's going on in real time, or if that's just a running total since the OS was started? How does ...
2
votes
1answer
50 views

How to track down the source of I/O spikes?

I am using Linux as a desktop, and keep getting seemingly random I/O Spikes. The machine becomes unusably slow. At first I thought it was just that I don't have enough memory. But looking at the ...
0
votes
0answers
42 views

How can I find how much RAM are VMware Player VMs using on Linux?

I am running Debian Jessie 64-bit on a computer with 8 GB of RAM. This is my memory usage according to htop(with a fairly large Firefox session) before starting a guest VM that has 4 GB allocated. ...
21
votes
4answers
771 views

Making Linux read swap back into memory

The Linux kernel swaps out most pages from memory when I run an application that uses most of the 16GB of physical memory. After the application finishes every action (typing commands, switching ...
2
votes
0answers
36 views

is THP good or bad for MySQL Server?

Linux kernel new feature called Transparent Huge Pages (THP) which is by default enabled on CentOS 6.x and above OS. Is THP good for MySQL DB machine? I am trying following to disabled THP but seems ...
4
votes
2answers
40 views

Determining maximum memory usage for an extremely short process

I have a program I am testing and I need to determine the maximum memory used by the process. I know that in general ps -aux can give me this information, but the process runs in under 1/10 seconds ...
1
vote
1answer
28 views

Kernel's cached memory can't be freed, even dropping caches

All host's memory is cached and there's no way it can be freed. /dev/ram1 is used for storing testing files, but after each build we run freeramdisk. $ freeramdisk /dev/ram1 $ echo 3 > ...
1
vote
0answers
32 views

Out of Memory with unused memory and swap

I have a strange error on my Raspberry Pi2. System is archlinuxarm. Short after boot (about 30 secs), the system states that it is out of memory, resulting in closing many applications, most time ...
0
votes
0answers
62 views

Process Being Killed due to low swap

I'm running a python (2.7) script on mac osx yosemite. The script is fairly computationally intensive, certainly bumping up against my machine's RAM limitations. The computer crashes and restarts ...
4
votes
1answer
66 views

Why am I missing 2% of my ram

I am running grep MemTotal /proc/meminfo to determine the RAM installed on a system, however instead of reporting a number corresponding to an even number of GB, it is slightly off. I.e. on my 64 GB ...
1
vote
0answers
63 views

How can I find which process is eating my memory? [duplicate]

My Linux system sometimes reaches 90% memory usage. We are running some Java processes, and top shows overall usage as 45%. If I stop the running processes, usage reduces to 5-10%. I want to list ...
6
votes
1answer
124 views

Is there any relationship between memory fragmentation and whether or not swap is enabled on a system?

One of the answers to Do I need swap space if I have more than enough amount of RAM? got me wondering if there is any relationship between memory fragmentation as measured by cat /proc/buddyinfo and ...
1
vote
1answer
20 views

Distributing CPU cores between cgroups and outside world

Is it possible to manage access to CPU cores in a similar fashion that memory limiting works? In particular I need to be able to dynamically create and destroy cgroups that will limit a particular ...
0
votes
0answers
21 views

Is there any dynamically produced .log file showing up the memory usage on FreeBSD?

I am using FreeBSD 10.1-RELEASE and I was just wondering if there is any .log file produced by default from the system because I am using ELK and I want to pass this file to logstash and then ...
0
votes
2answers
67 views

I seem to be using only some part of my total memory

My Kubuntu laptop $ uname -a Linux jiggs 3.16.0-31-generic #43-Ubuntu SMP Tue Mar 10 17:37:36 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux has 6GiB of memory: # lshw -C memory *-firmware ...
55
votes
12answers
9k views

Do I need swap space if I have more than enough amount of RAM?

From what I understand, the purpose of a swap partition in Linux is to free up some "not as frequently accessed" information from RAM and move it to a specific partition on your harddrive (at the cost ...
1
vote
2answers
84 views

MMU-less kernel?

I would like to try compile mmu-less kernel. From what I found in configuration there is no option for such a thing. Is it possible to be done?
4
votes
1answer
129 views

Can I limit the size of the linux file cache?

I am running 64-bit Xubuntu 14.04, linux version 3.8.0-25 with 8GB of RAM. I have a script (in MATLAB, for what it's worth) that loads a large number of data files (~23k) one at a time, for a total ...
-1
votes
2answers
118 views

Generate major page faults

Is it possible to generate major page faults in the linux kernel at will? Can a program be written such that it is guaranteed to cause a major page fault on it's execution.
1
vote
1answer
191 views

How to get the size of GPU memory available for OpenCL?

How is it possible to get the size of the memory on a GPU, which is available for programs with use OpenCL for computations, such as darktable? I know of lspci which gives some general informations, ...
1
vote
1answer
20 views

Changing redis filesystem writing behaviour

The filesystem usage of redis is peaking every 20 minutes at the moment on my server. Sometimes from 63.1% to over 90.9%! This causes my monitoring to send me alerts if its over a longer time-frame. ...
1
vote
1answer
46 views

Linux always hangs when out of physical memory

I'm using ArchLinux, with 3.18.6-1 kernel, when a software uses more than physical memory (when total memory used is >5.8 GB), it always lags, unresponsive, and all that I can do is reset the ...
2
votes
1answer
91 views

The structure of /proc/kcore on 64-bit machine and relation to physical memory

Let me preface this question by saying that I've found a lot of answers for questions similar to my question but for 32-bit machines. However, I can't find anything for 64-bit machines. Please no ...
0
votes
1answer
51 views

Linux Debian memory leak? [duplicate]

I am running an application which needs to be restarted everyday. I am noticing that when I close this application and I run "free -m" It says: total used free shared ...
2
votes
1answer
93 views

What does -/+ buffers/cache means in the output of free? [closed]

I know this is a lame question, but I want to understand why CentOS consumes my Physical memory when certain process stopped. Suppose I have opened a file of 10GB then it consumes 10GB in ram and ...
1
vote
1answer
27 views

CentOS Black Screen after 4+ hours of indexing

I am running a CentOS virtual image on virtual box. It has liferay and solr installed on it and I am trying to index a Lar file that is 50+ MB of metadata. This is estimated to take more than 12 hours ...
0
votes
2answers
218 views

Loading and execution of programs in memory [closed]

While comparing between linking loader and linkage editor I came across a point that in case of linking loader linking and relocation takes place for each execution of the program( and happens at time ...
0
votes
0answers
9 views

doubts regarding memory control group and memory zones lru list?

I have doubts regarding memory control group and memory zones lru list ? I just want know whether memory control groups lru list is subset of memory zone lru list or they have different pages on them ...
1
vote
0answers
108 views

Java process gets killed frequently by OOM - Killer on upgraded hardware

I am running solr on an Ubuntu server along with 4 other java processes. Current index size is 30 GB. My solr process gets killed frequently in few hours. It clearly mentions that its an OOM killer. I ...
0
votes
2answers
30 views

find the application that consuming large memory

How to find which application is consuming large memory? Is there any other way than using top?
2
votes
0answers
72 views

How can the RES memory reported for a Java process be higher than the VIRT memory?

I've been monitoring a Java process (Oracle Weblogic) using TOP and have observed that sometimes the following will happen: RES will increase from it's usual stable level of 2,097,152 KB up to ...
0
votes
2answers
675 views

What does “task mysqld:xxx blocked for more than 120 seconds” mean?

We are troubleshooting a MySQL issue where some queries are taking a very long time complete and I see many of these entry in /var/log/messages: Jan 28 05:52:15 64455-alpha01 kernel: [2529273.616327] ...