The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
14 views

VirtualBox Host - Ram Question - Mem Free Vs Mem Available - Possible Mem Leak?

I'm wondering if our system has lots of free RAM, or if its almost out. I read here regarding MemAvailable but I am wondering how it applies to VirtualBox as I am sure thats the reason the numbers I ...
0
votes
0answers
10 views

Android, microSD and SWAP

I have an Android 4.4.4 device (which I can easily root) with a 32 GiB microSD card, which is secured well and will not be disconnected during normal work. Is there a way I could use that card or more ...
1
vote
0answers
22 views

Booting kernel (FIT image) with no rootfs

An embedded Linux device I am working with has the following kernel parameter: root=/dev/ram0 Additionally, the kernel image is bundled together with an initrd and device tree to make a flattened ...
2
votes
0answers
25 views

Limiting users ram with cgroups not working (for me)

I registred because I didn't manage running cgroups with several tutorials/comments/whatever you find on google. I want to limit the amount of ram a specifix user may use. Internet says "cgroups". My ...
2
votes
2answers
46 views

What are these memory strings? What do they do? [duplicate]

Recently, I dumped my memory strings (just because I could) using sudo cat /dev/mem | strings. Upon reviewing this dump, I noticed some very interesting things: .symtab .strtab .shstrtab .note.gnu....
145
votes
1answer
322k views

How do you empty the buffers and cache on a Linux system?

Prior to doing some benchmarking work how would one free up the memory (RAM) that the Linux Kernel is consuming for its buffers and cache? Note that this is mostly useful for benchmarking. Emptying ...
3
votes
0answers
27 views

Entire Harddrive to linux swap

I have an old hard drive that is less than 50Gb and a computer that only has about 4Gb of ram (and ~250Gb main HDD). I was thinking about using the second drive as an entire drive linux-swap partition....
0
votes
0answers
75 views

CentOS 6.7 Dedicated server, -bash: fork: Cannot allocate memory 128GB Ram

I bought my new dedicated server for hosting game servers, websites and personal stuff. Also for learning and testing. I have used dedicated servers before with Linux and windows so I guess I'm ...
0
votes
1answer
45 views

How to recover RAM space that should be free?

Many people use ps_mem.py script in order to know how much RAM processes use. In this case the result of the script was something like this: --------------------------------- ...
3
votes
2answers
113 views

Linux using whole swap, becoming unresponsive while there is plenty of free RAM

I am experiencing a weird issue lately: Sometimes (I cannot reproduce it on purpose), my system is using all its swap, despite there being more than enough free RAM. If this happens, the systems then ...
6
votes
4answers
46k views

Java “Could not reserve enough space for object heap” even though there is enough RAM

I am currently having some issues running Java. It won't start because of heap issues. But I have more than 9 GB Ram free (or even 16 GB if you assumed the cache would be empty). This is the error I ...
1
vote
1answer
254 views

Not using specific memory regions due to errors

I have just installed some new RAM (2x1GB, 667, sticks from 2x512MB, 533, sticks) into an old system (perfectly valid), and all was working fine, until now. I have been having some issues when the ...
-5
votes
1answer
48 views

RAM usage issue

I set an alarm on my cell phone that when ever RAM usage exceeds 90% then got an alert. I also made a script to monitor all the memory, CPU, RAM etc. How can I reduce the RAM usage where I also have ...
0
votes
2answers
39 views

How to find processes which uses the most RAM in last X seconds?

Could you please help me to sort this out? I'm trying to write a bash script which will monitor ram usage (not only ram but cpu and network as well) and show me 3 processes which use the most ram in ...
1
vote
1answer
76 views

Why can't I mount the disk now with limited memory?

Today I am experiencing problems on my laptop running Fedora 22 with a external USB 3 Seagate hard drive. I plugged the drive in and it wouldn't mount, instead showing low_memory errors in dmesg. ...
0
votes
1answer
347 views

High Memory Usage in my fresh install of Manjaro KDE

I am a normal desktop user. Previously using Linux Lite 2.6. Read about Manjaro and I really like the KDE. So Yesterday I tried to install it and I was struggling with issues. After installation it ...
3
votes
0answers
34 views

Does Linux perform buffering twice when hosting a VM?

I ran a KVM VM on my CentOS host and found that after performing a HDD-intensive operation, it used all of the host's memory I assigned to it. However, free on the guest suggests that the memory's ...
1
vote
2answers
82 views

Estimate RAM usage information of an embedded device

I'm monitoring the performance of an ARM-based embedded device which runs poky linux distro (from Yocto project) which contains OpenEmbedded build system. I need to get the MHz (CPU cycles) ...
0
votes
2answers
88 views

Awk run time error: not enough arguments passed

Here is the script: TYPE="${BLOCK_INSTANCE:-mem}" awk -v type=$TYPE ' /^MemTotal:/ { mem_total=$2 } /^MemFree:/ { mem_free=$2 } /^Buffers:/ { mem_free+=$2 } /^Cached:/ { mem_free+=$2 ...
0
votes
1answer
122 views

Why linux system freezes and not recover from running out of RAM

I am running Ubuntu Desktop 15.10 on my machine with 4 GB of RAM and 4GB of swap. My understanding of Linux was, when it starts to run out of RAM, it will start killing processes to get some RAM back, ...
1
vote
1answer
21 views

Why do different instances of the same program use up different amounts of memory?

I simply started 5 instances of the default xterm, doing nothing in them at all. Looking at the output from htop, it appears that these instances use different amounts of RAM: VIRT RES ...
3
votes
1answer
106 views

If tmpfs has bigger size than your RAM, how much RAM does it use? Are applications privileged for RAM?

If the size configured for tmpfs is bigger than the size of RAM, and there is a lot of stuff stored there in the tmpfs, how is the amount of RAM available to applications determined? If applications ...
0
votes
1answer
33 views

Can a sparse file go beyound the ram size?

Since the Physical size of the file would be less than the logical file size. Is it possible to create a spares file with a size bigger than the available ram.
1
vote
0answers
74 views

Does Linux maintain a system RAM high water mark?

I know there is VmHWM entry in each process's /proc/[PID]/status file, however is there an aggregate of this that contains the high water mark for the system? I understand the free command give the ...
1
vote
0answers
59 views

RAM not used by process? Then who uses it? [closed]

I don't understand who uses my RAM. I can see clearly that it's used, but I have no ideea who uses it. Do you have any ideea what could be wrong here? I'm experiencing random spikes of high memory ...
8
votes
2answers
9k views

How to tell whether RAM ECC is working?

I'm planning on getting some ECC RAM to replace the non-ECC RAM I currently have installed on my Asus M5A97 Pro motherboard (AMD 970 chipset, FX-6100 CPU). After I install the RAM, how do I tell ...
1
vote
0answers
85 views

htop showing less memory usage

I'm currently trying to benchmark performance improvements when using a RAM disk. So I've been giving my VM 24 of the total 32 GB RAM, and created a 16GB RAM Disk inside. It's beeing used, ...
0
votes
2answers
42 views

Swap used even though most memory is “cached”? [duplicate]

I'm trying to make sense of this free -m output: total used free shared buffers cached Mem: 7971 7608 363 1 17 4703 -/+...
2
votes
0answers
83 views

Debian x86_64 and 4 GB RAM

I bought additional 2GB of RAM and inserted it into my laptop. The BIOS sees 4GB of RAM but Linux sees only 3GB. Output of free -m: total used free shared buffers ...
9
votes
2answers
4k views

What is the appropriate value of vm.swappiness when using zram?

I'm using zram on my computer as a compressed RAM-backed swap. When the system needs to swap something out, swapping it to a zram-backed swap file is more or less equivalent to compressing that data ...
0
votes
1answer
80 views

Attaching a phram mtd0 device to gadget serial mass storage

I'm using a Atmel SAMA5D3, I have created two phram devices /dev/mtd0 and /dev/mtd1 I am trying to attach them to a gadget mass storage module. insmod g_acm_ms.ko file=/dev/mtd0,/dev/mtd1 The ...
2
votes
1answer
128 views

Does my system use all available RAM?

I installed 16GB of RAM on a motherboard that shouldn't take it. Should I buy a better motherboard or change anything at all? It seems to be working fine. Memory: Crucial Ballistix Sport "(8GBx2) ...
0
votes
1answer
75 views

Finding memory corruption bugs in Linux and FreeBSD

In windows, we can enable page heap verification using gflags to catch memory corruption bugs more easily. Is there a similar service/program for Linux and FreeBSD operating systems?
2
votes
1answer
255 views

How do I measure the RAM usage of desktop environments?

I would like to measure the RAM usage of several desktop environments (including Cinnamon, GNOME, KDE, LXDE, LXQt, MATE and Xfce) running on my Sabayon machine. I would prefer a command-line way of ...
0
votes
0answers
11 views

What is the criteria to set highmem parameter?

I've read about highmem parameter of Linux kernel. AFAIK, that parameter only makes sense on 32-bit machines. What is not clear enough for me is the criteria to set it. Please could you provide an ...
3
votes
5answers
9k views

Is there a linux OS that can be loaded entirely into RAM?

I have 32 GB of memory in my PC. This is more than enough for a linux OS. Is there an easy to use version of Linux (Ubuntu preferably) that can be booted via optical or USB disk and be run completely ...
0
votes
2answers
44 views

Ubuntu stops responding to any action

I use ubuntu and found it really frustrating that it stops working really frequently. The circumstances are: Opened Android Studio WITHOUT any emulators (I mean device emulator, I use real devices ...
1
vote
2answers
7k views

How to reduce buffers\cache

A monitoring system keeps alerting that my machine is reaching\breaking through it's RAM utilization threshold which is 15 GBs. I've done some reading and understood that the apparent RAM utilization ...
1
vote
1answer
165 views

How low can I go on RAM?

I have some old PCs runnning on my business. And by old I mean PENTIUM-3 800 MHZ and AMD DURON 950 MHZ, with 256MB RAM. They are running my business software today on Windows XP. I want to run Linux ...
48
votes
5answers
53k views

Creating a ram disk on Linux

I have a machine with 62GB of RAM, and a trunk that's only 7GB, so I thought I would create a RAM disk and compile there. I am not a Linux expert. I found instructions on the internet to create the ...
0
votes
1answer
31 views

Use NVIDIA graphic card as regular resource

I don't use my graphic card anymore, but it is still laying there, idle. Is there a way I can turn it back on and use it just a regular, additional CPU/RAM for my laptop?
2
votes
1answer
183 views

All of system ram not available on Debian OS partition

I have a computer with a Windows 7 and a Debian OS disk partition. The computer has 12GB ram as can be seen when logged in on the Windows 7 OS. However, the Debian partition is only recognizing just ...
0
votes
1answer
82 views

How to install applications temporary into RAM on LiveCD?

So I have a Scientific Linux LiveDVD. And I have it installed on a PC that has no hard drives configured and avaliable at all. I want to install some applications that would allow me to configure ...
12
votes
3answers
13k views

Move /tmp to RAM

I am trying to move /tmp to RAM and obey good practice: /var/tmp should NOT be placed in tmpfs, as it must survive reboots not mount /tmp as a stand-alone tmpfs, but rely on /dev/shm or /run/shm ...
1
vote
2answers
284 views

Is there way to force Linux to unswap when there is low CPU usage?

After working more than 1 day on my machine swap becomes about 1GB. Some of my panel plugins go to swap so they become laggy. Moreover system doesn't unswap until I make it to do it swapoff -all;...
6
votes
3answers
2k views

detect number of RAM channels

I'm trying to determine (without physically having access to a machine) the number of RAM channels it supports (single, dual, etc) - AND whether it is configured to use that setup, e.g with four slots ...
-1
votes
1answer
54 views

Monitor Cpu & Ram Uasge Via Web

Sorry about that newbie question. But does anyone know how to make or where to find a script that will monitor CPU and ram usage, so i will be able to use it at my admin panel on web? I'm running a ...
2
votes
1answer
299 views

Second RAM module is not shown in `free` in Manjaro

I have two RAM modules (8 GB each) but there is only one shown in free. I hope that following info will help you to locate the problem and find a solution: $ uname -srvmo Linux 3.10.27-1-MANJARO #1 ...
0
votes
1answer
86 views

Substantial portion of memory used is not accounted for by user processes

I recently installed a copy of Ubuntu Server 14.04.2 LTS on a cluster. All appears to be working fine, but a large portion (around half) of our total available RAM is being used. I.e., when I run ...
0
votes
1answer
72 views

Linux 64 bit only recognizing 3gb of RAM out of 6 [closed]

I'm running Linux Mint 17.1 (cinnamon) on a Dell XPS 630i core 2 quad. I recently upgraded to 6GB of RAM only to realize that Mint is only recognizing 3GB. I confirmed that the system is indeed 64 bit ...