Questions tagged [ram]

Random Access Memory is a fast and volatile data-storage bank used in computers to store data and machine code currently being used.

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 views

how to verify when RAM memory was update on RHEL machine

we have VM machines (machines are RHEL 7.9), and recently machines RAM memory was update from 32G to 64G is it possible to verify on which date? memory was update?
  • 11.6k
1 vote
0 answers
27 views

A realtime priority application is consuming all of CPU

I am running PopOs 22.04 on my dell laptop [amd64, intel i3, 4GB ram]. The booting was taking so much time, so I run sudo dmesg in terminal and it shows error: rcu: INFO: rcu_preempt detected ...
0 votes
2 answers
69 views

On AlmaLinux 8 or CentOS 7, does vm.swappiness=0 mean that Swap is fully disabled?

I've been having an issue for many years where I have vm.swappiness=1 in sysctl.conf, but even though there's plenty of RAM available (possibly almost full in terms of cached, although still 4GB free ...
  • 103
0 votes
1 answer
37 views

how to copy text of file to ram (to do paste later)

I would like to copy the content of a file (string) to my ram memory. As in copy of a text so I can do paste later. Example: I have a file name: my_pub_key.pub and inside there's big amount of chars. ...
1 vote
1 answer
41 views

Is it possible to load up a binary into ram, without executing it?

Like I will use google chrome whenever I use linux (most probably) But I don't want it to auto start when ever I open it. I could open it manually, but I have HDD so it is pain to load for the first ...
0 votes
0 answers
12 views

free up unsed by vms in host kvm (libvirt)

i have a vm in kvm and have 16gb of ram, when i boot it up its not using so much ram on my host, but when i use the vm ram(like stress-ng), the usage on the host will raise up too, when i freeup the ...
4 votes
3 answers
1k views

Auto detect RAM and create double the swap memory

I'm able to auto detect RAM in GB as below and round off to the nearest integer: printf "%.f\n" $(grep MemTotal /proc/meminfo | awk '$3=="kB"{$2=$2/1024^2;$3="GB";} 1' | ...
  • 455
3 votes
1 answer
371 views

Why is my system using swap when RAM fills up with cache?

I'm running openSUSE TW, 32 GiB RAM, 64 GiB swap (SSD). Swap usage is zero up until the point when RAM gets fully filled up with cache. I'm using htop to monitor it. Yellow/orange = cache My system ...
0 votes
0 answers
22 views

XMP and GPU Crash

I have a question mostly related to hardware, if by any chance someone have an idea I might try. I was experiencing random crash lately, 2/3 times a day, and logs pointed out GPU errors. Never really ...
1 vote
1 answer
133 views

Abnormal RAM usage

from past several days, a weird problem is worrying me. My fedora takes too much RAM than usual, on idle the usual RAM usage is around 2 GB, but it hikes up to more than 5.2 Gb which mostly results in ...
  • 11
0 votes
1 answer
69 views

Compilation taking too much RAM?

I'm trying to compile a custom Linux Kernel but when I get to the last step and compiling VMLinux.o, the make process gets killed and shows error137, which means that I'm out of memory. I'm on 4gb RAM,...
  • 9
1 vote
1 answer
29 views

Do linux processes actually separate cache?

It seems like every time someone complains about how a lot of memory is being used, all of the responses claim that it is just cache, it isn't harmful, it will be reallocated when needed, etc, even ...
0 votes
1 answer
90 views

What unvisible process consumes almoust all RAM?

I am using Fedora but had this issue also with other distros for a long time and never found a solution. So while using my computer, mostly only browsing with Brave and coding with VStudio, memory ...
1 vote
1 answer
175 views

Is increasing the max_pool_percent parameter for zswap a smart idea to combine concepts of zram and zswap to increase memory and decrease disk usage?

I don't know if I'm missing something, but please take this with a grain of salt. So, zram is used to reduce I/O operations on the disk by making a swap on the memory which eliminates system freezes ...
  • 11
0 votes
1 answer
59 views

Mount filesystem with DAX enabled on RAM

I am trying to mount a filesystem with DAX feature on RAM. I used this answer to load brd module and get /dev/ram0. Then I tried all 3 filesystems that support DAX: ext2, ext4 and xfs. However, when I ...
0 votes
0 answers
274 views

Why does my system see 8gb ram, when I have 16gb installed

I've just assembled a new PC and I have 1 16gb plate installed, but my system reports that it has only 8gb available. output of inxi -m: Memory: RAM: total: 7.23 GiB used: 3.51 GiB (48.5%) Array-1:...
0 votes
0 answers
53 views

How to limit swap usage without using sysctl or resizing the partition?

There is the following scenario: I have an HDD disk that uses LVM and I cannot resize the partitions in it, in this disk, there is a swap partition that is 10gb. I also use zram apart from disk based ...
1 vote
0 answers
96 views

Linux (Mint) eats all my RAM

I know, there are plenty of "Linux eat my RAM" threads all over the internet, but they can't help me to solve my problem. (I had a try with this question on askubuntu but I'm off-chart with ...
3 votes
0 answers
298 views

Why creating files in /dev/shm is not faster than creating files in /tmp?

Let's say I have two bash files. The first one is called diskFile.bash: for i in {1..10000} do file=$(mktemp) cat > $file <<- "SIGN" "Hello World" SIGN ...
  • 341
0 votes
1 answer
727 views

How does RAM get divided into Kernel Space and User Space

I understand that with Linux, RAM gets divided into kernel space and user space. Kernel space is reserved for running the kernel, and user space applications should not have direct access to the ...
  • 1,041
0 votes
0 answers
115 views

Running computations from SWAP without complete performance drop - Discussion on NVMe speeds and if they ever come in reach for RAM replacements

I have been setting up my Linux machine (currently pop-os) in several ways recently to upgrade my system to demands of specific data analysis done in R. In brief: The Data set I am working on is ...
0 votes
0 answers
90 views

Memory runs out and PC freezes

I have been having issues playing video games on my PC, as I keep running out of RAM (8GB). When I run out of RAM, my displays and everything else freezes, except playing audio keeps looping. I have ...
  • 77
0 votes
2 answers
242 views

Limit a process's memory by name forever

I am developing using webpack. The problem is, my current project is huge, and takes around 6GB of memory (~30% of RAM according to top). Is it possible to run a command restricting it's memory ...
0 votes
1 answer
49 views

RAM used by apps doesn't sum up vs free RAM, why?

I ran some commands (in a script to be fast) and got this: $ ps -A | wc -l 513 $ echo "$((`ps -A -o rss |tr "\n" +`0))" 4368208 $ free total used free ...
2 votes
1 answer
93 views

Linux server: How does memory get allocated to parallel processes?

I'm a complete newbie, so please excuse my ignorance and/or potentially wrong terminology. I'm using an Ubuntu server through ssh for brain image processing (one command with several programs, ...
  • 29
0 votes
0 answers
37 views

Is there any configuration that I can change to make the system kill a process when RAM memory is full?

I work on a computer with 32GB of RAM using Ubuntu 20.04. I often open some VirtualBox machines and keep a lot of stuff open at once. Sometimes I accidentally fill all the RAM memory on the computer ...
  • 341
0 votes
0 answers
74 views

smbd fill ram cache and trigger critical memory error

a user that connect to samba server, start to copy a file of 40GB from his device (Windows 10) to server. I see cached RAM that quickly increase (to 24GB which is the max), then server reboot. samba --...
7 votes
1 answer
1k views

Has Linux kernel abandoned universally applying "RAM that isn’t being used for something is wasted RAM" approach (e.g for mobile devices)?

When I see that phrase (or similar), as e.g. today in How to Use the free Command on Linux (article with 2020 date): RAM that isn’t being used for something is wasted RAM I recall about LPDDR used ...
2 votes
0 answers
123 views

java process consuming more RAM than total RAM

I have a server with docker container containing java processes. One of process is consuming memory more than 100%(117%) visible in top command. $ top ... MiB Mem : 515396.0 total, 149379.3 free, ...
0 votes
1 answer
259 views

My RAM usage never goes over 75% when system is lagging and under heavy load

Linux matrix 5.15.2-xanmod1-1 #1 SMP Wed, 17 Nov 2021 02:36:25 +0000 x86_64 GNU/Linux NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS sda ...
  • 29
2 votes
1 answer
626 views

How to verify that my tmpfs/ramdisk is working?

I am setting up a RAM disk in CentOS 7, and by all tutorials, I am able to see the speed increase of writing to the disk. However I never see RAM usage increase either from free -h or from the System ...
  • 1,065
0 votes
0 answers
61 views

no free/cached memory and no process consuming it

I can't manage to monitor where my RAM is hidden, it's not buff/cached and I'm not sure to understand the /proc/meminfo data What is sure is when I top or try to catch processes I can't find more than ...
0 votes
2 answers
75 views

When to upgrade RAM based on free output [closed]

I have a java application that runs on a Linux server with physical memory(RAM) allocated as 12GB where I would see the normal utilization over a period of time as below. sys> free -h ...
3 votes
0 answers
1k views

Debian 11 freezes with Firefox

I am new to Linux currently studying Computer Engineering and we were told we needed to install a Linux distro in our machines, I decided to install Debian 11. I've been able to resolve most problems ...
1 vote
1 answer
44 views

How to purge in-memory disk cache

Linux uses free RAM to store pages of disk files to speed up overall disk access. However for the purposes of benchmarking, I want to test the disk read speed and I don't want that speed measurement ...
  • 111
0 votes
1 answer
98 views

Ubuntu allow max ram usage for sbt java

sometimes during coding I realize that I have 100% ram used, and swap 100% ;) Is it possible to dissalow for some processes like java, sbt etc. not to use more when for example 90% of ram is used ...
  • 111
0 votes
2 answers
125 views

What makes a program load so fast? [closed]

I have this question that I need an answer to. What makes programs like st, zathura, sxiv, and feh load instantly and what makes programs like VS Code and Google Chrome load so slowly in low-spec ...
0 votes
1 answer
222 views

Why is RAMFS much slower than Ram?

I have a 64GB DDR4 3200MHz memory installed on my PC. When I run sysbench, I get the following results: # sysbench memory --memory-block-size=1M --memory-total-size=10G run sysbench 1.0.20 (using ...
0 votes
0 answers
68 views

htop command displays 996GB instead of 1024GB for RAM

I have a little issue that I can't understand. I have 8x128GB sticks of RAM, which makes 1024GB of RAM. But the command htop displays 996G and not 1024G as expected. You can see the following ...
2 votes
0 answers
208 views

memtester error when testing two RAM memory cards together but successful test on each one

I have bought a new 8GB memory ram with the same part number as the one my computer already has. After mounting the new memory, I see that Ubuntu has detected it and that the system has 16 GB of RAM. ...
  • 121
2 votes
1 answer
829 views

Why the difference in neofetch and free (RAM) output?

wadewayne@Cheetah:~$ neofetch MMMMMMMMMMMMMMMMMMMMMMMMMmds+. wadewayne@Cheetah MMm----::-://////////////oymNMd+` ----------------- MMd /++ -sNMd: OS: Linux Mint 19....
0 votes
0 answers
2k views

“you are in emergency mode,, After logging in type ”journalctl -xb“ti view…”

my os (pop os , ubuntu based) gets freezed due to a RAM exceed, I reboot my system and only have CLI, were I got the tittle mentioned message: “you are in emergency mode,, After logging in type ”...
  • 109
1 vote
0 answers
154 views

Why is writing to a RAM drive so much slower than expected?

I testing writing data to a RAM drive on my linux machine, and I'm seeing much lower numbers than the RAM speed would suggest. So I would like to ask: why am I seeing slower speeds? Could be that I'm ...
  • 11
9 votes
1 answer
399 views

Tell Linux what to use swap for

I am using Ubuntu 20.04 Server edition. I have a 512GB of RAM, with about 130GB typically used for a process running on the machine. I also have two ramdisks (tmpfs) both configured as 500GB. As tmpfs ...
1 vote
1 answer
1k views

Linux box with 100% used swap and 60% available RAM - is it normal?

Recently I saw a box (actually, web server VM) that has exact 0 (zero) bytes unused in its swap, while available ram (which is not free, but the sum of free+buffers+cache) is at 60% of total VM ram. ...
  • 151
3 votes
1 answer
1k views

Does mounting squashfs put the whole filesystem in RAM?

Situation: I've got a larger (>10GB) read-only collection of small files with loads of duplicates that I need to have available on multiple machines, even on different file systems. We can assume ...
0 votes
1 answer
219 views

(Almost) Complete System Freeze, Swap Related

Overview & Symptoms My system freezes almost completely whenever my system runs out of RAM and starts hitting the swap partition heavily. Everything freezes including the mouse and keyboard with ...
  • 103
0 votes
1 answer
838 views

How to use swap less often?

I use an SSD swap just to avoid full memory related crashes. There are limited erasures that can occure on SSDs. The memory related crashes have stopped, but my system uses swap constantly and vmstat ...
  • 115
0 votes
1 answer
192 views

dotnet Segmentation Fault on Ubuntu: i have only 174 MB free RAM

When i run dotnet or dotnet --list-sdks or dotnet --list-runtimes it works, but if i run a project or even dotnet --help or dotnet --info , i get Segmentation fault In /var/log/syslog i see: [ 3110....
1 vote
1 answer
91 views

Can Linux take advantage of removable ram?

Some RAM pci-e card were manufactured https://linustechtips.com/topic/1118940-wtf-is-this-thing-ram-on-a-pci-card/ Say I got a removable 16gb version of this card that is available 95% of time (eg: ...
  • 111

1
2 3 4 5
8