The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
64 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
44k 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
232 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
41 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
28 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
47 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
272 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
26 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
61 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
51 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
83 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
17 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 ...
2
votes
1answer
66 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
29 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
39 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
51 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
8k 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 ...
0
votes
0answers
8 views

How to make Live CD store data in hard drive?

How can I configure a Live CD operating system (Specifically Lubuntu) to use the hard drive as its main storage, not storage simulated in the RAM?
1
vote
0answers
53 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
29 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
79 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
54 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
91 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
69 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
205 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
10 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
7k 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
43 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 ...
0
votes
2answers
6k 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
159 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 ...
45
votes
5answers
49k 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
28 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
126 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
56 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 ...
10
votes
3answers
12k 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
227 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 ...
5
votes
3answers
1k 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
51 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
290 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
77 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
68 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 ...
0
votes
1answer
642 views

Why and how is swap improving performance, and can I disable it? [closed]

I have a laptop with 8GB of RAM running 4.0.4-2-ARCH. Recently, I installed Android Studio, and bam, my normally pristine system was suddenly stuttering and all out freezing (more than once). Before ...
3
votes
1answer
198 views

lshw shows a different amount of RAM than the 'free' command. Missing RAM? [closed]

Title says it all! uname -a: Linux servername 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux lshw output: *-firmware description: BIOS vendor: Dell Computer Corporation ...
132
votes
1answer
283k 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?
1
vote
2answers
73 views

Memory space of an operating system

I want to install Uberstudent (based on Ubuntu 14.04) on a Samsung Chromebook 2. I'm new to looking at specs so I don't know if it will work. The Uberstudent documentation states: "2 GB of ...
1
vote
1answer
98 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 ...
6
votes
2answers
142 views

Besides cache, what does the Linux kernel use significant amounts of memory for?

My computer feels really sluggish. According to free, I have only ~200M RAM left and more than a gigabyte had to be swapped out. I know that it is good if memory is used for caching but this looks ...
1
vote
0answers
132 views

The command “dmidecode -t 17 | grep Size” showing in CentOS release 6.5 (Final).

Recently I upgraded the system(Dell 720) RAM 8 to 16 GB(4*2[new ram]), but it is still showing old amount of RAM(ie 8GB). Please help me, If I need to install driver(module). Kindly Let me know all ...
4
votes
1answer
118 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 ...