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

1
vote
1answer
10 views

Memory usage stays high after compilation jobs

I am operating a small Linux VM with 1Gb of RAM. It is a fairly typical LAMP setup which takes about 16% of memory on normal usage I used the box to compile stuff yesterday, the memory went up to 60% ...
0
votes
0answers
10 views

how to limit dma address to specific range in linux kernel?

I want to limit the dma address the device can access to 0x0100_0000~0x03ff_ffff. But I don't know how to set the dma_mask and coherent_dma_mask. It's easy to set the "dma mask" for a range start ...
1
vote
0answers
10 views

Evaluating uncorrectable ECC errors and fallback methods [migrated]

I run a server which has just experienced an error I've not encountered before. It emitted a few beeps, rebooted, and got stuck at the startup screen (the part where the bios shows its logo and begins ...
1
vote
0answers
25 views

What is being cached?

I have an embedded system with a low amount of memory. The system has allocation issues. Maybe due to fragmentation: Memory allocation issue on NOMMU? The platform is a NOMMU platform and so I suspect ...
6
votes
0answers
2 views

Reserve fixed RAM memory region as a block device ( with a given start physical address)

There have been a lot of questions about RAM Disks and I am aware of ramfs and tmpfs which allow the use of ram as a block device. However my interest is in using a fixed memory address range as a ...
2
votes
2answers
46 views

find out the memory allocated for a particular process in ubuntu

Could anyone please tell me how to find out the memory allocated for a particular process in ubuntu?
1
vote
0answers
41 views

Swap appears to not be in use

(I am currently using Ubuntu 14.04 LTS, GNOME environment) tl;dr How can I force more memory swapping (swappiness already at 100)? I have recently been experiencing a lot of system freezes/crashes. ...
1
vote
1answer
25 views

Reserve memory for a program

Is it at all possible to set aside say 50MB of memory so that in an emergency where something uses all my memory or loads the CPU I could open a terminal, find the offending process, and kill it?
0
votes
3answers
52 views

Lots of free memory, but Java won't start (SunOS 5.10)

vmstat gives: swap free 37489684 110178592 Still I have issues, while trying to run Java process with 10g heap: > java -Xmx10g -Xms10g -d64 HelloWorldApp Error occurred during ...
2
votes
2answers
42 views

Memory allocation for sparse array in awk

I have searched but didnt reach to any conclusion that when i defined an sparse array does it reserve all the contiguous memory upto maximum index or it allocate the memory at that particular index ...
0
votes
0answers
27 views

Inexplicable high memory usage (apparently not caused by programs, buffers, cache, or slab cache)

I've got a server that claims 1.7 of its 2 GB of RAM are used, but the combined memory usage of the running processes doesn't come anywhere near that figure: $ free -m total used ...
0
votes
2answers
47 views

Use/See whole the flash memory space

When we bought a N Giga Byte flash memory, the free space that the OS provide for us, is less than N GigaBytes. For example, for a 2 GB flash memory, total space that we can use, is 1.86 GB. As far ...
0
votes
0answers
18 views

Is there anything in RHEL 6.5 that would affect I/O speed for something <24K vs >24K?

Generally, transactions for my app of setting and getting data internally are measured in a couple of millis. However, over 24K in size, that time can jump to just over 100 millis. Is there anything ...
1
vote
1answer
33 views

Fastest and Safest way to increase Swap Space on Scientific Linux

Memory Swap Ratio Company System Today, a monitoring system indicated that one of the systems in the company has run out of memory. Executing htop on this system indicated that the Memory was nearly ...
-1
votes
1answer
23 views

How to prevent certain memory location to be accessed [duplicate]

I have 2 corrupted RAM module, on offset: 46xx MB and 13xxx MB (from memtest on boot) How to prevent Linux to access/alloc/read/write into those offset? Here's the result of memtester on ~1000 MB to ...
1
vote
2answers
82 views

Why does Linux only see 3832MB of my 4096MB of RAM?

I am setting up a lot of 64-bit RedHat VMs (VMware vSphere) for our development department in my company. Most of them start with 4096MB of RAM, but Linux only seems to recognize 3832MB. Can anyone ...
1
vote
1answer
39 views

How to enable swap accounting for memory cgroup in Archlinux?

On my Archlinux box I want to limit some applications to a smaller amount of memory using cgroups. Since I use swap, I need to account memory+swap. How can I enable swap accounting?
1
vote
1answer
47 views

Real vs Actual memory in Xymon/Hobbit

What is the difference between real and actual memory usage in xymon ?
0
votes
2answers
45 views

What are the positions in `free` called?

I am trying to compare the output of free with the output of sar -r: # sar -r 12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbcommit %commit 12:10:01 AM 629756 65293976 ...
0
votes
1answer
31 views

How can I tell if lack of memory is causing these crashes?

I have a tornado web server running a flask application that connects to a postgres 9.3 database on an ubuntu 12.04 box. The application has been crashing intermittently and I am trying to understand ...
0
votes
0answers
26 views

Why does Android crash when stressed on Memory where as GNU-Linux keeps running?

I have two devices, an Android phone with an eGlibC stack running side by side with Bionic, and an old HP tower with Debian. My HP tower has 512 MB of RAM. My phone has 2GB of RAM. I run top on ...
2
votes
4answers
144 views

How much RAM needed for preventing use swap?

At my system always available some "Free" and "Inactive" memory, but sometimes system move couple megabytes to swap. Per night it maybe around 100MB, but for a few days in swap could be more than ...
6
votes
2answers
323 views

How does stack allocation work in Linux?

Does the OS reserve the fixed amount of valid virtual space for stack or something else? Am I able to produce a stack overflow just by using big local variables? I've wrote a small C program to test ...
1
vote
2answers
54 views

How to increase the memory used by Java in linux?

I have a program Vuze that is written in Java, which I use to download very large files, and I'm having a problem with it. I need to increase the amount of memory it uses. I've followed the directions ...
5
votes
2answers
33 views

How to monitor Memory utilization of the single process?

How to monitor Memory and CPU usage of the single process by program/executable name(not PID);
3
votes
4answers
115 views

What is using memory? [closed]

According to htop and free, the machine I'm looking at is currently at 6631 / 11907 MB of RAM. That's more or less half of the RAM available. However when I sort top or htop by MEM%, the most memory ...
4
votes
1answer
91 views

Maximum memory usable by a 32 bit RHEL 6 system

I have installed a 32 bit RHEL OS on a 64 bit system. From the wiki page of PAE: The Linux kernel includes full PAE mode support starting with version 2.3.23, with Linus Torvalds mentioning ...
0
votes
2answers
32 views

How to format the output of free/sar/such commands?

I need to get some specific columns from the output of free command. The way I'm following doesn't seem good, could anyone please suggest me a better way? bash-3.2$ free -gotsi total ...
2
votes
2answers
28 views

centos5 maximum memory setting for all users

I'm using Centos5 for operating server and the machine has limited memory. There are many users using the server and some of them are running programs which use a lot of RAM. When I check the used ...
1
vote
1answer
65 views

How is 32bit Linux virtual memory structured in relation to PCIe Base Address Registers

I'm working on a Linux system (32 bit, 4GB RAM) and found some contradictory information about memory addressing in Linux. Am I right with this: Only virtual memory has the differentiation between ...
0
votes
2answers
107 views

Linux memory usage?

We have 1TB of memory on a server which hosts an SAP application. When the app is running the memory usage shown in top is around 700GB. When the app is stopped the memory usage shown in top comes ...
1
vote
2answers
36 views

How much memory is lost on startup

I was wondering the following: As I start my computer and Xubuntu, it starts many programs before the login screen. Is it possible to measure by Valgrind the total number of lost bytes during startup? ...
0
votes
1answer
169 views

How to reduce chrome's virtual memory usage?

I am running a Debian Jessie and having memory issues when using Google Chrome I tried disabling extensions, disabling cache, flushing the cache, and disabling the web 3d rendering, but nothing ...
2
votes
0answers
39 views

Cgroups - memory subsystem

I want to set the memory.limit_in_bytes parameter for a control group and disable OOM, so processes freeze when the limit is reached. But i want to change that limit dynamically, if there is more ...
5
votes
1answer
455 views

What is equivalent to Mac's purge in Linux?

In Mac I use purge to free up some memory. What is equivalent to it in Linux(Ubuntu Server)? apt-get install purge gave me nothing. If you are no familiar with Mac's purge here is it's man page: ...
54
votes
9answers
10k views

Why can't Vim open a 100 MB text file when I have 16 GB RAM?

I have a 100MB MySQL database backup file and I have trouble to open it in Vim on my Linux box that has 16G of RAM. Vim just hangs (at least unusable). This is something I don't understand. I have 16 ...
0
votes
1answer
47 views

Is Inactive memory related to the Commited but unused?

From the Linux procfs documentation: Active: Memory that has been used more recently and usually not reclaimed unless absolutely necessary. Inactive: Memory which has been ...
0
votes
1answer
188 views

How to compute Linux slab memory leak in GNU/Linux ( proc/slabinfo ) of running process

How to compute Linux slab memory leak in GNU/Linux ( proc/slabinfo ) of running process ? I'm want to free usage is not working properly . I want to way how to check Memory Usage & Memory Leak ...
0
votes
1answer
182 views

How to figure out memory leaks? [closed]

I'm running Ubuntu 14.04 on Digitalocean to host my blog. I'm using HHVM + nginx + MySQL. Every few hours (~12h), there's no more RAM left and nginx throws an 502 error. I check the memory usage for ...
1
vote
1answer
63 views

Random application crashes in Linux

Sometimes after booting my computer, some applications fail to start: they crash. They're usually the largest ones, such as firefox, thunderbird or virtualbox. Rebooting or cleaning the cache usually ...
24
votes
2answers
2k views

Will Linux start killing my processes without asking me if memory gets short?

I was running a shell script with commands to run several memory-intensive programs (2-5 GB) back-to-back. When I went back to check on the progress of my script I was surprised to discover that some ...
2
votes
2answers
156 views

How to mount a dd-image which was created via fmem (memory dump tool)

I'm quite new to Linux. I've used the tool fmem for creating a memory dump dd-file. That works fine. But how can I access this image? I've tried it with mount but it says I have to specify a ...
2
votes
2answers
204 views

Out of Swap - What happens?

On my debian VM machine with 512MB RAM and 348MB Swap, what will happen if i open a 1GB file in an editor and get out of memory? Will it crash the system? Or if not, how will linux handle this? ...
4
votes
1answer
136 views

What do the different memory counters in FreeBSD mean?

top tells me: last pid: 64807; load averages: 0.99, 0.97, 0.92 up 189+04:47:22 09:16:17 45 processes: 1 running, 44 sleeping CPU: 0.4% user, 0.0% nice, ...
1
vote
2answers
65 views

Swap to RAM, or not

Having a 32-bit system with 4G RAM and 7G swap. Linux 3.5.0-49-generic i686. From time to time the memory bank is filled up and everything lags down. In 99% of the cases it is Chrome using vast ...
8
votes
1answer
237 views

How to limit the total resources (memory) of a process and its children

There are plenty of questions and answers about constraining the resources of a single process, e.g. RLIMIT_AS can be used to constrain the maximum memory allocated by a process that can be seen as ...
1
vote
2answers
181 views

Does BIOS read directly the bootloader or load it into RAM?

I'm trying to understand the very first steps of the boot process. The CPU read the BIOS It reads a fixed address instruction It will jump to the first BIOS instructions address It will execute ...
1
vote
1answer
70 views

Virtual Memory Usage Exceeding Physical Drive Space

I have a machine running Ubuntu on Amazon EC2. The machine has a 43 Gb root drive and 30 Gb of RAM. I am running a processor and memory intensive process and I've noticed that it sometimes stalls for ...
1
vote
1answer
77 views

xentop gives static info about memory usage

I am using CentOS 6.5 and Xen 4.2.4-30 xentop does not change MEM(%) at all. NAME STATE CPU(sec) CPU(%) MEM(k) MEM(%) MAXMEM(k) MAXMEM(%) VCPUS NETS NETTX(k) NETRX(k) VBDS VBD_OO ...
4
votes
1answer
41 views

Memory consumption of a script

Is there way to check the memory (physical & virtual) consumption of a script, of course in the moment of its execution. Calculating the used memory minus the used memory before and after the ...