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
1
vote
2answers
35 views

Is it possible to run raspbian OS without SD card or Live USB?

I developed a python based GUI application running on a Raspbian OS. During power outage my SD card gets corrupted often. I need to have a frequent back up OS image and writing it back when the SD ...
1
vote
1answer
23 views

Python programs suddenly get killed

I'm running some python programs that are quite heavy. I've been running this script for several weeks now, but in the past couple of days, the program gets killed with the message: Killed I tried ...
0
votes
1answer
29 views

Changed RAM and now my system is malfunctioning

I have a problem with a new RAM that I bought. My system is a Thinkpad T410 with Debian 10 stable with 2+2GB of RAM. Today I replaced a 2GB board with a 8GB. I checked with htop my total amount of RAM ...
0
votes
0answers
14 views

EDAC scrub capability details

Looking at this enum in https://github.com/torvalds/linux/blob/master/include/linux/edac.h#L280: enum scrub_type { SCRUB_UNKNOWN = 0, SCRUB_NONE, SCRUB_SW_PROG, SCRUB_SW_SRC, ...
0
votes
1answer
36 views

Why does dmidecode show the memory type as “Unknow”?

I am trying to identify with dmidecode whether my computer has DDR3 or DDR4 memory. But, when I run it, it does not provide any information that would let me identify the installed memory. For memory ...
0
votes
0answers
14 views

Identify ram module linked to ECC error di DMESG

one of my server is logging the following ECC errors: [lun set 14 00:14:16 2020] {33}[Hardware Error]: Hardware error from APEI Generic Hardware Error Source: 1 [lun set 14 00:14:16 2020] {33}...
0
votes
0answers
19 views

used buff/cache memory increased suddenly in ubuntu 16 machine

In one of my ubuntu 16 production instance memory used by buffer/cache shot up suddenly. We have not done any change in the machine. Attaching screenshot and snapshot of free output. root@xxxxx~# ...
0
votes
2answers
46 views

How to Enable ZRAM on PC?

I am trying to know how to enable ZRAM for my PC running Ubuntu. I have heard that the ZRAM is speeding up some laptop and PCs, so will the ZRAM help My PC too? PC specs: CPU: Intel Core 2 Duo E4500 (...
0
votes
2answers
42 views

Linux memory usage does not add up

I have a server for which I cannot account where the ram is going. Output of top (sorted by %MEM) indicates I have 96GB of ram on this server. top - 23:30:54 up 1 day, 21:55, 2 users, load average: ...
0
votes
1answer
38 views

High RAM and swap usage out of seemingly nowhere

(Manjaro 20, Linux 5.8.3, KDE, this laptop) When reasonably much is going on in my system, the RAM and swap usage often goes much higher than it should. For example currently I have a VM with a VM in ...
0
votes
2answers
36 views

How can I increase the size of an encrypted swap partition when the root partition already takes up all free space?

My laptop is getting kinda slow, especially when having Firefox opened with multiple tabs, which is why I'm trying different ways to make it a little snappier. It has an Intel Core 2 Duo T5600, 2 GB ...
0
votes
0answers
30 views

Lubuntu 20.04.1 and RAM detection on Asus K50C-S

I have installed Lubuntu 20.04.1 on an Asus K50C-SX009, but it can only use 3 out of 4 GB of RAM installed. According to the official specifications the laptop supports up to 4GB of RAM, and it ...
0
votes
0answers
17 views

Syntax for using systemd-run to limit CPU and memory usage of multiple processes?

I would like to use Linux control groups (cgroups) to limit CPU and RAM usage of multiple processes. If the processes are Process 1 and Process 2 with child process Process 2 Sub, would this be the ...
2
votes
1answer
77 views

How can I trigger Firefox memory cleanup from the terminal?

Does anyone know how to initiate the garbage collection and memory reduction in Firefox (about:memory > Free memory > GC/CC/Minimize memory usage) from the terminal? This browser is using way to ...
0
votes
0answers
24 views

Seelnium crashes since RAM is not enough… but what is RAM used for?

We run Selenium (JAVA) with headless Chrome. This all takes about 300 MB RAM. VPS has 1 GB RAM but selenium "crushes": Exception in thread "pool-1-thread-115" org.openqa.selenium....
0
votes
0answers
106 views

Excessive Firefox CPU and RAM usage (+ choppy audio)?

I'm trying to use both Firefox Quantum 68.10.0 ESR 64-bit and TOR browser 9.5.1 (= based on said Firefox 68.10.0 ESR) on a Linux Mint Debian Edition 4 machine. What's with the resources squander of ...
12
votes
1answer
790 views

Out of memory, but swap available

My server runs out of memory even though there is swap available. Why? I can reproduce it this way: eat_20GB_RAM() { perl -e '$a="c"x10000000000;print "OK\n";sleep 10000'; } ...
0
votes
1answer
16 views

Centos 6 wouldn't swap

I'm almost out of the ram, was hoping to swap ram kicks in, but it doesn't do anything. CentOS release 6.10 (Final) root@auth33:~# free -m total used free shared ...
0
votes
0answers
25 views

Free cache memory

Hi. I'm trying to free cache memory in Ubuntu. I searched several tutorials (including install bleachbit) and none of these helped me. Does anyone know how to free this cache?
0
votes
4answers
89 views

Reduce swap memory size and increase RAM access?

I'm on an Arch Linux machine running KDE Plasma desktop environment. I have 16GB of physical RAM installed in my machine. I had 8GB swap memory and apparently have access to 8GB of RAM. I wanted to ...
0
votes
1answer
18 views

Relationship between RAM and CPU to assign to servers

I would like to know if there is any method, formula, recommendation or good practice to establish the relationship between CPU and RAM on a server, be it physical or virtual, I have recently seen ...
1
vote
1answer
27 views

What's the biggest RAM module that I can use according to dmidecode?

I wonder if this dmidecode output suggests that one can put 2x16GB or 2x32GB? I have seen that in different version of dmidecode information about total system maximum capacity and maximum module ...
0
votes
1answer
44 views

How to know max RAM memory allowed?

I found an old HP 530 laptop and am planning to upgrade it with an SSD and new RAM to give it to my little brother for his schools tasks. I executed the dmidecode command to know the sistem specs and ...
0
votes
0answers
28 views

Disable corrupted memory

I have Supermicro servers and each server has 12 memory modules and IPMI interface. When I run memtest86 on all my servers I detect some corrupted memories (channel X slot Y/Z). Also, I can find a ...
0
votes
2answers
27 views

Is staying in Fedora with a 4 gigs system Safe?

So I recently switched to Fedora Linux, and At least it eats 1.5 gigs of ram after I installed software, it ate 1.7, and I have a 4 gig system, so is it safe? I am referring to Memory
0
votes
0answers
12 views

Can I efficiently fork a ramfs partition?

I want a ramfs (or equivalent, but strictly RAM only) partition which will serve as a read-only master instance from which any number of identical children can be forked. When a process forks, this ...
1
vote
0answers
11 views

Easily customizable, PXE bootable, ram only Linux Distro?

I'm writing a daemon that I'll need to roll into an ISO which can be bootable via PXE by multiple machines simultaneously. This is so I can easily scale a computing operation / expand a pool with zero ...
1
vote
0answers
32 views

How to make a process to use more amount of RAM?

I use the workstation predominantly for shell-based virtual screening of new ligands/drugs (which involves algorithm and output evaluation) and molecular dynamics. Virtual screening involves ...
2
votes
0answers
67 views

How to check actual RAM usage of tmpfs?

I know that tmpfs falls back to using swap if system is under memory pressure. I can query total tmpfs usage in KiB with df | grep tmpfs | awk 'BEGIN{sum=0} {sum = sum + $3} END{print sum}' but how ...
2
votes
2answers
59 views

32GB RAM + 16GB Swap?

I just upgraded my RAM in my Acer Aspire TC-885-ACCFLi5 from 16GB to 32GB. I have 2x1TB SSDs and 1x2TB HDD. I dual-boot between an Arch-based and a Debian-based distros. I use one of my SSDs for my /...
1
vote
1answer
53 views

Can We save files in RAM?

So i noticed how linux sometimes uses swap memory (located in internal HDD / SSD). When ram is overloaded PC stores some ram data in swap to make things faster it guess. So if you can store ram ...
0
votes
0answers
36 views

What are command line switches for Chromium to increase stability, compatibility and minimize RAM and CPU usage at the cost of performance?

I have a 10yo potato laptop with only 2GB ram. It has Lubuntu 20.04 and I want to run Chromium on it, using WINE. I found a list of command-line switches for Chromium, and some, like --disable-gpu (i'...
1
vote
1answer
32 views

Trying to speed up lightweight distro on old computer

I'm trying to install a lightweight distro on my sister's old desktop. It has a Celeron 3.06Ghz processor, a 80GB HD but only 432 MiB RAM. With these specs I thought antiX-09.2.1_386-base was my best ...
37
votes
2answers
5k views

How can I fake the amount of installed RAM for a specific program in Linux?

I'm running BOINC on my old netbook, which only has 2 GB of RAM onboard, which isn't enough for some tasks to run. As in, they refuse to, seeing how low on RAM the device is. I have zRAM with ...
-2
votes
1answer
137 views

What happens if tmpfs reached the limit that defined in percentage

lets say we defined the following in /etc/fstab tmpfs /data tmpfs size=90% 0 0 And then we mount -a Now /data is with tmpfs What could be happens on the following scenario case that /data ...
1
vote
1answer
63 views

RAM disk + is it possible to mount to RAM instead of disk

we have Linux machine that used the disk /dev/sdb to save data , we configured the mount point in /etc/fstab disk is 100G , and mount point is the folder /data now we want to use the memory ( we ...
1
vote
2answers
432 views

Why doesn't Linux automatically clear caches?

Background My question is basically a follow-up to this question and answer, and in particular, this comment. Whenever I have to copy or rsync large amounts of files, the memory on my system tends ...
1
vote
1answer
30 views

Make: start process that if being killed, does not kill make

I use GNU make to start benchmarks of different write/read calls in R. In some cases this will result in my RAM being fully used and the process being killed (which is fine, since I want to see the ...
0
votes
0answers
150 views

The BIOS and LSHW show the correct amount of ram/memory, but not in the OS (ubuntu 20.04 64bits)

motherboard: AB-GAMING 3-CF bios version: F50a lshw $ sudo lshw -class memory *-firmware description: BIOS vendor: American Megatrends Inc. physical id: 0 ...
1
vote
0answers
29 views

How system slots or ports are detected by linux?

how does an operating system say linux understand how many ram/pci/cpu slots/sockets are there? Does the operating system detect this or just the info is passed from bios acpi if so please tell how ...
1
vote
0answers
93 views

Disabling CPU core in u-boot DTS

I am trying to 'convince' a FriendlyARM ZeroPi (Allwinner H3, 4 x Cortex-A7) that it only has 3 physical cores in the SoC, and there is only 256M of RAM (instead of the 512 actually on board). I have ...
0
votes
0answers
52 views

Memory Not Detected

_,met$$$$$gg. root@debian ,g$$$$$$$$$$$$$$$P. ----------- ,g$$P" """Y$$.". OS: Debian GNU/Linux 10 (buster) x86_64 ,$$P' `$$$. Kernel: 4.19.0-8-...
0
votes
2answers
126 views

Will copy-on-write in main memory work while swap is off?

without overcommitment, every fork() would require enough free storage to duplicate the address space, even though the vast majority of pages never undergo copy-on-writes. The above statement is ...
1
vote
0answers
79 views

Installing RAM: `dmidecode` shows both DIMM and SODIMM slots on the same machine

I want to add RAM to my laptop. If I run dmidecode --type 17 (as described in Linux Check Ram Speed and Type Commands). I get the following: [jeff@jbb-dell:~]$ sudo dmidecode --type 17 [sudo] ...
0
votes
0answers
56 views

How is initramfs maintained throughout the execution of the Android kernel?

So, while reading the book Operating System Concepts 10th edition, I found the concept of initramfs. I know that it is used in Linux as a temporary RAM file system to load all of the drivers to mount ...
1
vote
1answer
37 views

Linux (RHEL) problem with cached and swap memory

I have a problem with linux cached and swap memory. I know that linux is optimising itself when reading data from the disk (buffering it in the RAM) but in my case it seems that this part of memory is ...
2
votes
1answer
94 views

Why can I only access 7 of 16GB ram?

I have an FM2+ AMD A10-7700K APU build. 4 physical ram slots filled @ 4 gb each; total 16 gb 2 ssd drives; 120gb (containing OS) and 256gb data I have been running Cinnamon Mint desktop on this ...
5
votes
1answer
690 views

Discrepancy between physical RAM and /proc/meminfo

I have a system with 8 x 16 GB DIMMs, so 128 GB total. However, the MemTotal reported by /proc/meminfo is 131927808 kB, so 131 GB My research suggests that if anything, the meminfo should add up up to ...
0
votes
1answer
28 views

Get data about system load in an easy-to-process format

Often I feel the need to run some computation on the data about my system load. For instance about the data that top shows. And possibly iotop and htop as well. Some of the things I'd like to do are ...
0
votes
2answers
670 views

Install Linux Mint on Laptop SSD - How without OS etc?

I don't know much about computers, but I have Linux Mint installed on a laptop and it has a HDD and I would like to swap it to an SSD. A) How do I install the Linux system without an operating ...

1
2 3 4 5 6