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

2
votes
2answers
244 views

How to reuse Physical memory in the absence of swapping?

How can I reuse physical memory in the absence of swapping?
2
votes
2answers
2k views

gnome-keyring-daemon couldn't allocate secure memory

I run logcheck on my Debian Linux system to get alerted to unusual lines in my log files, and recently I saw the following in /var/log/messages: gnome-keyring-daemon: couldn't allocate secure memory ...
2
votes
2answers
433 views

lsof - debug the output information

I was going through the questions of this site. In this particular question, I see the command lsof being used to list the files that are open for a particular user. I ran the below command in my ...
2
votes
1answer
509 views

Know when a memory address is aligned or unaligned

Im getting kernel oops because ppp driver is trying to access to unaligned address (there is a pointer pointing to unaligned address). Im not sure about the meaning of unaligned address. It means not ...
6
votes
2answers
1k views

What is “kernel dynamic memory” as reported by smem?

While diagnosing low memory problems in my desktop machine (details at U&L) I've noticed that my noncache "kernel dynamic memory" is big: # smem -twk Area Used ...
2
votes
2answers
183 views

How does a process handle the situation when it finds no memory to use?

What happens when a particular process finds that there is no memory to use? Will that process kill/restart another process to proceed their task ? Or what the process (that requires more memory) ...
0
votes
1answer
112 views

Running git with higher memory allocation

I am facing memory/data segment issues while running git. However, if I set my ulimits to a bit higher like below. ulimit -m 262144 ulimit -d 262144 It runs fine. Don't we have anyway to allocate ...
3
votes
0answers
897 views

Excessively high memory usage reported (3 GB) after reboot

Brief problem description: A 64-bit Gentoo on Intel Core-2 Q6600 reports about 3GB used out of 8GB total memory after reboot. This memory is neither claimed by any process, nor is it used by ...
4
votes
2answers
497 views

Copying large file causes excessive swap

On a mid-class CentOS 6.4/64 server with 32 GB RAM, 3 TB free disk space, operating as KVM hypervisor, I start copying a 200 GB file to a destination in the same local filesystem. In fact, this file ...
0
votes
2answers
545 views

How to monitor average stats of CPU and memory usage of a Solaris server using scripts?

I need to monitor average CPU and memory usage for a Solaris server. How can I automate the process using scripts to monitor daily CPU and memory usage and give it as an average over a month?
0
votes
2answers
358 views

Linux kernel with absolutely no virtual memory [duplicate]

I am interested in obtaining (or building myself) a version of the Linux kernel that has absolutely no virtual memory and none of its attendant overhead. No swap file, no nothing. What are my ...
1
vote
1answer
220 views

32-bit on 64-bit: memory usage for multiple processes

I'm working on a Linux hosting solution for game server software, however the software in question is 32-bit and I'd be running 64-bit on the host. Now, I know I can run 32-bit apps on a 64-bit host ...
2
votes
3answers
110 views

when awake from hibernate, will the VIRT column of top command show the swap space used by process?

top - 10:43:31 up 8 days, 1:28, 4 users, load average: 0.72, 0.57, 0.44 Tasks: 180 total, 1 running, 177 sleeping, 0 stopped, 2 zombie %Cpu(s): 8.9 us, 2.1 sy, 0.0 ni, 88.9 id, 0.0 wa, ...
1
vote
3answers
958 views

How can memtest check all memory while it is still loaded?

Inspired by this question. If you're testing your memory, you have to test all memory - you shouldn't trust any of it to be good. How can memtest effectively do this when memtest itself will consume ...
4
votes
1answer
1k views

Does segfaults mean bad memory

This is a brand new server with a new install and fresh compile of Apache/PHP with nothing crazy. Just a WordPress site hosted and I get the following. Could this just mean bad RAM? If so how can I ...
0
votes
1answer
220 views

No virtual memory (-v) item in output of ulimit -a

When I run command ulimit -a, I see no virtual memory item in the list of output of the command. It is unlimited for some user IDs though. Does that mean I am assigned no virtual memory?
21
votes
3answers
4k views

grep: memory exhausted

I was doing a very simple search: grep -R Milledgeville ~/Documents And after some time this error appeared: grep: memory exhausted How can I avoid this? I have 10GB of RAM on my system and few ...
4
votes
2answers
648 views

Memory usage command with syntax similar to the time command

What command shows the memory usage of a program, i am looking for a command that is simple to use and has similar syntax to the time command. I am trying to find the memory usage of a md5 hashing ...
2
votes
2answers
1k views

swapoff fails when overcommit_memory==2

I've disabled memory overcommitting by setting overcommit_memory=2. Now when I tried to swapoff, I get this error: swapoff: /dev/sda5: swapoff failed: Cannot allocate memory But I in fact have 0 ...
2
votes
1answer
297 views

Static files give ever changing checksum value on Linux

When I cksum large files (150MB) they will often report different checksums on each call. $ cksum test3 1233504235 170213376 test3 $ cksum test3 825031809 170213376 test3 $ cksum test3 189847968 ...
2
votes
1answer
982 views

Which processes swaps memory

I can see swap's total, used, free etc. sizes from top command. But I can't figure out which process uses swap, is it possible to find out swap memory by process? I'm running CentOS 6.3.
13
votes
4answers
5k views

How to re-load all running applications from swap space into RAM?

If my desktop run out of memory and swaps a lot then I free or kill the application wasting my RAM. But, after that, all my desktop/applications have been swapped and are horribly slow, do you know a ...
0
votes
1answer
658 views

very high buffer memory usage [closed]

Is this normal - I've never seen buffers so high? $ cat /proc/meminfo MemTotal: 16332808 kB MemFree: 1112264 kB Buffers: 10630124 kB Cached: 699400 kB SwapCached: 0 kB Active: 3262924 kB Inactive: ...
9
votes
2answers
2k views

How can I dump the full system memory?

After starting VirtualBox, the computer became sluggish and then hung completely due to OOM. Usually, OOM should be starting killing processes in order to free up some space, but this did not happen ...
2
votes
2answers
423 views

a handy tool to measure memory consumption of a program [duplicate]

I develop a C code on Debian. I am looking for a program to monitor memory consumption of my code in real-time. The only value I care is the maximum RAM consumption, it should hold the value even if ...
3
votes
1answer
293 views

Use all system memory in Solaris

I am doing server testing and intentionally trying to crash a virtual Solaris server by using all memory. Server has a ulimit of 15 GB (several hundred GB of total system/swap memory). Is there a ...
3
votes
1answer
2k views

/proc/meminfo MemTotal =?

What elements of /proc/meminfo sum up to MemTotal? Example of tee /tmp/proc/meminfo < /proc/meminfo MemTotal: 1279296 kB MemFree: 164092 kB Buffers: 62392 kB Cached: ...
0
votes
2answers
318 views

what is an application pool?

I'm reading this article: http://www.modrails.com/documentation/Architectural%20overview.html#web_app_models It talks about how Phusion Passenger extends Apache2 to act as an application server. ...
2
votes
4answers
6k views

What is “System Memory ” displayed in nmon in AIX?

I have a host with AIX 6.1 (6100-04-02-1007) upgraded from AIX 5.1 with Veritas Storage Foundation 5.1. Since the upgrade from AIX 5.3 to 6.1, Run vx services means a lots of memory consumed that I ...
0
votes
1answer
100 views

What is meant by “a process has open handles to system objects”? [closed]

The following are qualities of a process: virtual address space executable code open handles to system objects a security context a unique process identifier environment variables a priority class ...
1
vote
1answer
188 views

Eclipse makes laptop unusable

Currently I can't use my eclipse project. I'm using ArchLinux: -` .o+` rkmax@satellite `ooo/ OS: Arch Linux ...
3
votes
3answers
75 views

Contents of stack area of a process

I've been going through some Unix text books and I can't have a clear picture on the contents of the stack area of the process. Can anyone please explain or point out some references?
6
votes
0answers
300 views

Allocated Memory difference in xen guests after using Linux 3+ kernel [closed]

Can someone explain to me why there is a memory difference in Guests with the same configuration? Hypervisor: xen 4.2 64 bit VM1: Centos 5.7 with 2.6.18-274.el5xen Assigned memory from xen is ...
1
vote
1answer
586 views

private memory calculated by pmap, a combination of virtual memory size and resident memory size?

You can use the ps command to get the virtual memory size and the resident memory size of a process: $ ps aux | grep apache2 USER PID %CPU %MEM VSZ RSS TTY STAT START TIME ...
2
votes
1answer
279 views

pmap and memory usage

On Ubuntu 12.04, I have several apache2 processes running (the 1130 parent and the children it spawned), and as you can see, they have around 300-400 mb of virtual memory and 10 mb of resident memory: ...
3
votes
0answers
149 views

What does hierarchy support do in cgroup?

cgroup has 2 options for memory control: memory.use_hierarchy = 1 : use hierarchy memory.use_hierarchy = 0 : use flat hierarchy, according to this answer What is the difference between the two? I ...
10
votes
3answers
586 views

After researching, still confused about monitoring RAM usage

I went through this article, which explains various methods for checking your RAM usage. However, I can't reconcile the different methods and don't know which one is correct. When I first login, I'm ...
-1
votes
1answer
40 views

get Various types of address used [closed]

How to get various address ranges of a running machine or a crash dump? User virtual address Physical address Bus address Kernel logical address Kernel virtual address I don't need the bus ...
1
vote
2answers
2k views

Change the size of my memory pages?

I would like to change my kernel's page size from 4KB to 4MB as I have had a large addition of RAM to my computer and I am never running out of anymore. The idea is that programs requiring large ...
1
vote
1answer
691 views

Measurement of free ram through /proc/meminfo with ramdisk (initrd)

I am booting a disk image via PXE, it is a full system on an initrd ramdisk. I would like to measure the actual free memory of the system (not including buffers and file system caching). I was told ...
67
votes
3answers
37k views

How do I read from /proc/$pid/mem under Linux?

The Linux proc(5) man page tells me that /proc/$pid/mem “can be used to access the pages of a process's memory”. But a straightforward attempt to use it only gives me $ cat /proc/$$/mem ...
5
votes
2answers
361 views

What happened to my RAM?

I am trying to understand the basics of the Linux OS. I'm running 64-bit Ubuntu 12.04 on a 64-bit CPU. The system has 2GB of RAM. cat /proc/meminfo MemTotal: 2012040 kB Question 1: Where is ...
4
votes
1answer
2k views

operation in /dev/shm causes overflow

I am repeating tens of thousands of similar operations in /dev/shm, each with a directory created, files written, and then removed. My assumption used to be that I was actually creating directories ...
5
votes
2answers
1k views

What is “automatic stack expansion”?

getrlimit(2) has the following definition in the man pages: RLIMIT_AS The maximum size of the process's virtual memory (address space) in bytes. This limit affects calls to brk(2), mmap(2) and ...
1
vote
1answer
1k views

Invoking memory compaction on linux 2.6.35 kernels and beyond

This LWN article about memory compaction indicates that memory compaction can be invoked in the linux kernel by Writing a node number to /proc/sys/vm/compact_node, causing compaction to happen on ...
3
votes
1answer
177 views

How to measure the clock pulse of my computer manually?

My PC has two processors, and I know that each one runs at 1.86 GHz. I have just read about clock cycles and I only have a (very) rough understanding, so I apologize beforehand if my question is so ...
0
votes
2answers
101 views

are daemon tmpfs executables copied unencrypted to memory upon execution? (prevent if so?)

When a daemon is executed, is the executable copied to memory? If so, can it be copied encrypted? If not, is there a way to prevent the executable from being copied to memory? The executable is ...
0
votes
1answer
103 views

Execute in Place an encrypted ram drive

I have found a few old posts claiming that tmpfs can execute in place. Is this true? If so, how? If not, is there a ram drive alternative? Can this be done with a ram drive that is encrypted? If ...
2
votes
1answer
41 views

Prevent or detect reading of daemon in memory

Is it possible to prevent the memory being used by a daemon to be read by anything else? If not, is it possible to detect an attempt to read? If so, is it possible to get in front of the actual read ...
2
votes
4answers
151 views

How to make sure, that certain functionality (like Alt+Ctrl+F1 switching into tty) is available in havily swapping system?

At the moment, when I accidentally launch application that eats a lot of memory (that causes system to heavily swap), the system become so unresponsive (waiting hours just to see the mouse move/or ...