Questions tagged [memory]

In computing, memory refers to the state information of a computing system, as it is kept active in some physical structure.

Filter by
Sorted by
Tagged with
1
vote
0answers
25 views

Is there any way around the length limitation in mount options?

Say I create a series of directories in the form "elem_###", where ### are the integers from 001 to 454, like so: $ dirs=$(seq -felem_%03.0f 454 | tr '\n' ' ') $ mkdir ${dirs} I then use these ...
1
vote
0answers
26 views

Disabling “Low GPU Memory” Notification in Gnome

How can I disable the notifications that warn for low available GPU memory? A screenshot is included below. These are very distracting. As I'm never doing anything GPU demanding, the notifications ...
2
votes
2answers
337 views

Free memory in linux always drops down even if the cache is cleared

I'm maintaining a linux server which manages 100 TPS API traffics. Initially, it had only 8GB memory. We recently doubled the memory and doubled the JVM memory consumption upper limit as well. Still ...
0
votes
1answer
56 views

Server Information

We have just set up a dedicated-server (Linux / Centos7.7 / WHM/Cpanel) As it is managed by the hosting-company we are not given access to SSH. Under Server Information in WHM dashboard the info ...
1
vote
1answer
53 views

ext4 issue on very old machine

I'm trying to install linux on a 20-year old Compaq HP Pavilion ze4300 with 256 MB RAM (I think) without internet connection. I can boot from CD but not from USB. Unfortunately I ran into this ...
-2
votes
0answers
40 views

Checkpoint (Linux) high memory usage

We have 4 identical Checkpoint boxes, running on Linux. One of the standby units uses a lot of RAM, but from the looks of it not for buffers/cache. RAM used by processes seems reasonable, so looking ...
0
votes
1answer
34 views

“DxvkMemoryAllocator: Memory allocation failed” while running any WineHQ dxvk (d3d) game

While running any game, that is too memory hungry, thru Wine (WineHQ) it may completely fill up the RAM memory, before it have time to swap anything, causing this error: "DxvkMemoryAllocator: Memory ...
0
votes
0answers
39 views

Searching productively in a living process memory

I want to search the memory of a living process for a certain regex and show the results to a file or in the shell - possibly WITHOUT dumping the process to the hard drive, but instead search in the ...
0
votes
0answers
30 views

How to show total memory used by a process AND ALL its children

Just want to see if there is any particular process gobbling up memory. E.g. chrome has a whole tree of chrome processes: $ pstree 20679 chrome─┬─2*[cat] ├─chrome─┬─chrome─┬─chrome───15*[{...
-4
votes
0answers
36 views

Is KDE Neon uses less RAM than Xfce distro?

I've watched on youtube that KDE Neon's memory management is improved and uses less RAM than Xfce distro. Is it really improved and consume less memory? So is it worth using KDE Neon over Xfce?
0
votes
0answers
52 views

Android memory manipulating

As root user when i try to modify my own application memory with ptrace and /proc/$pid/maps and /$pid/mem everything is going well, But when i try to attach ptrace to process of another application ...
0
votes
0answers
48 views

Missing main memory on Linux

On a new PC with 64 GB of main memory, I can only see about 60 GB, missing a whole 4 GB. In BIOS all four modules of 16 GB each can be seen, and also that it adds up to the expected 64 GB. But on ...
1
vote
0answers
14 views

Are there custom memory manager (mm) replacements for Linux kernel?

Are there alternatives to Linux kernel memory manager (mm)? More specifically, are there companies that develop their own replacements for mm algorithms to suit specific needs such as supercomputing ...
1
vote
0answers
24 views

The vmRSS value of /proc/$pid/status seems not accurate? Why?

I wrote a test program to help me understand the output field of different memory utilities such as free,ps,top,/proc/$pid/status,/proc/$pid/smaps,/proc/$pid/statm etc. One question finally rose up ...
0
votes
1answer
30 views

BIOS-e820 in dmesg - How do I calculate the memory range from addresses

kp@localhost ~]$ sudo dmesg | grep -i "e820" results in the following output: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable [ 0.000000] BIOS-e820: [mem ...
0
votes
0answers
30 views

private memory for specific processes

(assuming root account is not involved in this matter;) is it possible for two processes to share a piece of memory that only they can access? the best i can think of is to create a dedicated user ...
0
votes
0answers
24 views

can you allocate memory on disk for the life of a process?

How does Linux manage where on disk it will write? I know df gives the number of unused blocks, but how can I get the specific offsets of unused blocks. More generally, I am wondering if there is a ...
0
votes
1answer
24 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 ...
0
votes
1answer
30 views

watch to remember its last zero exit output

I run a process that takes lot of time. Time is not a problem actually but I would like to know how much RAM memory it requires. Process is already running so /usr/bin/time is not an option. I found ...
0
votes
0answers
26 views

how to make program crash deliberately on memory limit exceeding?

I am programming on some OJ search problem. the judgment system told me memory exceeded, so I want to reproduce that on my computer and see whether I can make improvement of mem usage. my system is ...
1
vote
0answers
12 views

Reliably automatically detect OOM killer post-mortem

I have a misbehaving service which is being repeatedly OOM killed which I would like to better diagnose. It's being called by a wrapper script, so the best first step I can think of is to have the ...
2
votes
0answers
54 views

virtual address translation in Linux

I try to translate a virtual address to a physical address. I can translate the below address. 00400000-00401000 r-xp 00000000 103:04 14292394 /home/user/readMaps 00600000-00601000 r--p 00000000 103:...
0
votes
1answer
53 views

How do I determine amount of resources that Docker host needs to provision to a container, by inspecting a running system?

My goal is to define container definitions("ContainerDefinitions") with appropriate memory size needed in RAM to launch the docker container. For example, below code snippet for jenkins container(...
0
votes
0answers
18 views

How to sort processes JUST by cached memory usage?

I am taking care of a K8s cluster for our team and some of our components are caching huge amounts of memory. Usually, this is not a problem because the cached memory is accessible but kubelet ...
0
votes
0answers
35 views

AIX strong memory consumption

Yesterday i had empty free memory on one of my main vio ! This vio got 8 lpars $ w rksh: 0403-031 The fork function failed. There is not enough memory available. Today i am lucky i can send command,...
0
votes
0answers
13 views

How to free cache memory on linux without using it?

I am taking care of a k8s cluster and recently I noticed that many pods get evicted. After digging into the problem and checking the monitoring tools I found out that kubelet is considering both used ...
2
votes
1answer
59 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 ...
3
votes
1answer
59 views

Why do lsmem and free show different total memory?

I have a CentOS 7 machine and there's a question that bothers me. When I use lsmem --summary, I get: Memory block size: 128M Total online memory: 8G Total offline memory: 0B When I ...
0
votes
0answers
12 views

Determine Max System Video Memory

I have a video card installed, which is: "Radeon RX 580 ARMOR 8G" (so, 8G of VRAM) I have confirmed the 8G amount by running a program that allocates increasing amounts of texture memory, and I can ...
0
votes
1answer
26 views

How to detect memory safety errors in a linux kernel module?

For the past week, I was working on a simplistic kernel module that creates a character device driver that allows the passing of messages between user and kernel space. All good and nice, I found ...
0
votes
0answers
29 views

Delete last added “stuff” in specific timeframe

I have a major problem. On my HP Notebook with Linux Mint I had about 220 GB of storage. I only noticed that the fan is driving crazy although I had no application open but I didn't pay any attention ...
3
votes
1answer
167 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 ...
0
votes
1answer
34 views

cgroup to limit memory usage of users

I read this question and tried the methods suggested. I edited \etc\cgconfig.conf like this: group memlimit { memory { memory.limit_in_bytes = 21474836480; } } and /etc/cgrules.conf ...
1
vote
0answers
26 views

Memory information

I have a server with centos7 , installed with 8 memory modules. I want to know what specific memory is installed on DIMM_A4 for example. With dmidecode or lshw I get the information on all the ...
0
votes
0answers
20 views

System release “used memory” to “free memory” too fast

I have some hosts running MongoDB. Below is a picture monitoring the host's free memory. It seems that when the free memory keep dropping below some threshold, the system will trigger some memory ...
0
votes
2answers
108 views

What is “effective used” memory on Linux? “used” or (“total”-“available”)?

I need to display in GUI for operator used memory vs available on Linux Server So what would be logically correct value to display as usage? [root@host ~]# free total used ...
1
vote
1answer
21 views

Why do free and vmstat display different info (total and used)

[root@host ~]# free && vmstat -s && cat /proc/meminfo total used free shared buff/cache available Mem: 131753676 110322904 1436448 ...
0
votes
0answers
25 views

AArch64 Page Table Configuration

Not sure if this question has been asked... Is there a way to check the page table configuration of an Android device? I sort of understand how translation table walk works after reading the ARMv8 ...
3
votes
1answer
68 views

Large memory allocations cause kernel to swap even though more than enough memory is free

My situation is virtually the same as this post on serverfault. To summarize: I have a really simple C++ app that uses a hash-map to count and merge a number of large files. I reserve memory with ...
0
votes
1answer
28 views

Available mem shows more than total mem minus used mem

Since a few years the kernel, and userland tools can show available mem, which should be a better proxy for actual free usable memory, however, the following does not make sense to me: top - 23:47:56 ...
0
votes
1answer
55 views

I can't really get why directories in paging are needed

I've been trying to figure out this stuff for years, but every time I don't understand. I understand quite well how paging, page tables and page table directories work in Linux, I just don't get why ...
3
votes
1answer
99 views

Clearing linux caches without root privileges

In order to clear caches, I usually invoke # echo 3 | tee /proc/sys/vm/drop_caches This requires root privileges. Why do I need to do this occasionally? Because it can have a huge impact on the ...
1
vote
0answers
58 views

Memtest86+ won't boot from USB, hangs on GRUB (via Arch), but works on Ubuntu Live USB

I recently ordered some server/workstation RAM that I wanted to test*, but the well-known memory testing methods are giving me a hard time. The only installed OS is Arch Linux. The machine is 13 years ...
0
votes
1answer
44 views

Black screen after splash screen

Im using Debian 10 Buster GNOME Editon. Yesterday I met with this issue. After I boot Debian, the splash screen comes correctly, but after that it simply gets stuck (ie becones a still image) and ...
0
votes
0answers
68 views

How to enable CMA in x86?

I tried to enable CMA in Ubuntu x86 as per the answer here. However meminfo still shows CMA as zero. We tried to give cma=8M@0-4G. Still it doesn't work. What would be the issue? Could you suggest a ...
1
vote
0answers
65 views

Understanding the memory growth of a process in svmon's “Inuse” column on an AIX 7 system

Our company has developed a process where I had to add a new method that implies some memory overhead. I'm required to measure it. So I went to svmon and applied it to my process. This is the original ...
24
votes
4answers
3k views

What is the gold linker?

Has anyone used the gold linker before? To link a fairly large project, I had to use this as opposed to the GNU ld, which threw up a few errors and failed to link. How is the gold linker able to link ...
0
votes
0answers
21 views

Swap partition is used only when RAM usage is to the full [duplicate]

Irrespective of the value I set for swappiness (/proc/sys/vm/swappiness) , the swap area is used only when the RAM is used to the full. Some configuration must be overriding the swappiness. My ...
0
votes
0answers
36 views

Shortcut to clear swap on demand

I am trying to make a shortcut on my desktop where i can just click on it from the Quicklauncher panel when the system is slowing down to clear the swap. Right now i am using this code in terminal: ...
3
votes
1answer
14 views

DBMS access on files in linux

I've read that usually the records of a table (in a database) are organized in a file that is managed by the DBMS, not by the OS. That is, the DBMS decides the order of the blocks in a file, the ...