Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

-1
votes
0answers
17 views

High Used space in Ubuntu RAM

I have Ubuntu 18.10 and I am having RAM of about 8GB. Well, although this amount of RAM is kind of enough for normal Linux Programming but in my case, it is completely filled. This results in poor use ...
0
votes
1answer
42 views

systemctl enable tmp.mount

Consider the practice of mounting the /tmp directory on a tmpfs memory based filesystem, as can be done with: systemctl enable tmp.mount And consider the following: one justification: The use of ...
0
votes
3answers
58 views

How to preserve a shell variable data until shutdown?

The shell variable is created by a script. It needs to be retained even after closing terminal and launching another script and accessing it. I don't want to write to a file(in HDD). If it possible ...
0
votes
0answers
22 views

Process only takes 50% of RAM on Debian [duplicate]

I have a program in python which takes lots of ram. My server has 16gb of ram, but when the program reaches ~8gb of ram, the os starts writing on disk which breaks performance. I want the process I'm ...
1
vote
1answer
57 views

How to analyze top command results: CPU & RAM consumption

I am working on ARM-based processor (OS version: Linux 3.4.35) and I need to analyze the processor's performance while some processes are running, by typing top command, I can see some statistics but ...
0
votes
0answers
22 views

Sizing of Samba Linux Server

Do you know any performance of sizing recommendations about Samba 4.7.1 ? For few informations : 2vCPUs / 1 Core 8GB of RAM 140 simultaneous Windows users / 250 at most / 20 NFS volumes mounted via ...
0
votes
0answers
48 views

wget --spider ram memory consumption and use of -c

I am using wget --spider. It is consuming a lot of ram memory. How could I limit the use of ram memory from the wget command? wget --spider -r -c http://www.example.org 2>&1 | grep '^--' | awk ...
3
votes
0answers
440 views

Kernel BUG: unable to handle kernel paging request

So I'm trying to run this kernel module on my laptop, and every time I do so, I get a stack trace that looks like this (all the messages might not be relevant to the module). [17539.035247] EBBChar: ...
0
votes
1answer
141 views

What's causing dbus-daemon to take up over 3GB of RAM?

dbus-daemon is consuming a lot of memory on my Debian 9/KDE machine. How can I find out why? The amount of allocated RAM is not changing anymore: it's stable at well over 3GB. I already tried closing ...
2
votes
0answers
231 views

Swappiness set at 100, but is empty nonetheless

Backstory: So, I have a vm running and managed to open enough browser tabs to make linux mint freeze completely, by filling up both swap and ram. Then swappiness was at 60. So after this happened a ...
0
votes
1answer
29 views

Filesystem in RAM that swaps to disk after a specified size

I have a process on a Linux machine that fetches some chunk of data from a host and sends it to another host. I do not control the size of the chunks I fetch, but I have a general idea of their median/...
-1
votes
1answer
299 views

/proc/sys/vm/drop_caches values

I want to know what values are possible for drop_caches, and what the meaning of that values are. For example: echo 3 > /proc/sys/vm/drop_caches What does number 3 mean? Are the numbers, 1, 2 or ...
0
votes
0answers
24 views

Deactivating disk cache for specific device or partition? (play 2160p video off SD card without sacrificing RAM space other programs need)

I would like to deactivate the disk cache for /dev/mmcblk0p1 in order to preserve more RAM for other system parts while playing 2160p video off /dev/mmcblk0p1. 2160p videos ravenously wipe the RAM ...
1
vote
1answer
190 views

How to use memmap with U-Boot?

I'll like to reserved the first 2 GB to the RAM because my hardware write in this position to the memory RAM and I need to the kernel don't touch this part to the memory. I read to use this option ...
0
votes
1answer
139 views

cgroups: Is it possible to limit cpu usage by process name instead of by pid

As we know, cgroups can limit cpu usage of processes. Here is an example: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 30142 root 20 0 104m 2520 1024 R 99.7 ...
1
vote
1answer
94 views

free -m: free size reduced because of cache/buff

I'm using the function rosbag of ROS. rosbag can record lots of data from other ROS nodes. In a word, it will generate a huge file, such as a file of 200MB. After generating such a file, I found that ...
1
vote
1answer
183 views

How to access NVRAM and DPRAM in Linux userspace?

We are going to add NVRAM and DPRAM in our custom board where both of them will be mapped in system memory map. I am not getting a clue that whether these devices have some generic drivers in Linux ...
2
votes
1answer
277 views

Ubuntu 18.04 does not use more than 32GB of RAM [closed]

I have just upgraded my PC with another 32GB of RAM. Both BIOS and lshw does acknowledge the existence of all four 16GB RAM modules, but neither free, top and htop sees the actual memory. $ sudo lshw ...
1
vote
0answers
276 views

Reserve memory in RAM and in the desired physical position

I'm trying reserved 2GB in RAM, but i like reserved in the start memory, in the 0x00000000 position to 0x80000000, Can I do it? I read in the LDD3 that you can reserver spaces in the memory, but in ...
2
votes
0answers
29 views

How to exclude programs from writing to RAM block cache? (e.g. media player)

When playing back huge video files, the media player ravenously consumes disk cache and thus kicks out blocks cached by other programs. Not to confuse with LinuxAteMyRam.com. I would like the media ...
-1
votes
0answers
24 views

RAM not reallocatable

I have problems reallocating RAM after I've been working for some time. The problem occurs after I started/stopped various services and reached a certain limit (~16 GB out of 32 in total). I checked ...
1
vote
1answer
648 views

Does this line in a log mean that I have a bad RAM sector or chip?

Aug 4 15:11:09 LiquidNZXT kernel: [ 0.000000] *BAD*gran_size: 64K chunk_size: 32M num_reg: 10 lose cover RAM: -16M Does this line in a log mean I have a bad RAM sector or chip?
0
votes
1answer
21 views

How do I limit the maximum RAM for Linux VPS?

I rent a shared VPS that runs Debian 9. I am alloted 4GB RAM (4096MB), but sometimes my processes go over 4GB. This is largely due to the kernel caching a lot of my stuff, so I'd like to know if I ...
1
vote
0answers
184 views

How can I find out what is making my SLAB Unreclaimable Memory Grow without bound

My SLAB unreclaimable memory (SUnreclaim) grows without bounds and this appears to be the reason why my system eventually runs out of RAM and starts trying to swap until it dies. Here's a graph of my ...
2
votes
0answers
481 views

Cannot clear buffer/cache and next to nothing running [closed]

What is using all my cache and why can't I clear it? I'm not trying to optimise performance or tune the system, the best description is that this is an exercise in understanding and learning and I'm ...
0
votes
2answers
44 views

Can a script unmount the volume containing itself?

I have a computer with a hard drive mounted read-only. I am running a script from a flash drive. I would like the script to be able to unmount the flash drive, but this can't be performed as the ...
1
vote
0answers
606 views

Debian Server: Out of Memory: kill process [closed]

I run a debian Webserver with nextcloud. Every night a backup job (storeBackup) is scheduled and it only succeeds in very few cases. But every night the journal is full of OOM Errors (see below). The ...
2
votes
1answer
614 views

openwrt - RAM memory allocation

Looking for some memory advice on an OpenWRT system. I have a SKW71 module (ar9331 cpu). It has 16Mb flash and 512Mb ddr2 RAM. Images for that system do not exist. Therefore I have installed an ...
0
votes
1answer
309 views

Limiting RAM for a group of users on Ubuntu Machine

I have a gpu based system. Multiple users use the system, as a result, the RAM frequently gets fully utilized leaving no memory for myself. I want to put a maximum RAM limit on all the users except ...
0
votes
0answers
19 views

Process memory usage right before executing of its first instruction

How can I get the size of a process right before its execution without executing the program with any particular input? I was thinking maybe a debugger can do so. I have IDA pro if that helps.
-3
votes
1answer
56 views

How to check the RAM configuration and RAM usage on your ubuntu terminal?

How to check the RAM configuration and RAM usage on your ubuntu terminal?
0
votes
2answers
61 views

Why can't I install Linux Lite?

I am a newcomer to Linux, and I want to instal Linux Lite on an old Dell laptop. It has 2GB of Ram, and is 32-bit. I get a message that tells me I don't have the correct kernel on my CPU to instal, ...
0
votes
3answers
117 views

What happens if a Linux distro is installed with no swap and when it’s almost out of RAM executes a new application? [duplicate]

What happens if a Linux, let’s say Arch Linux or Debian, is installed with no swap partition or swap file. Then, when running the OS while almost out of RAM, the user opens a new application. ...
3
votes
2answers
2k views

Why the available memory is less than the free memory in free command?

I'm using CentOS 7, I find my available memory is less than free memory, but why? root@localhost:~# free -h total used free shared buff/cache available Mem: ...
0
votes
0answers
34 views

Under what circumstance could switching tty's and entering commands freeze?

I noticed, that when booted from a live disc, and the RAM is filled up nearly, the live DVD starts being accessed far more often (probably due to exhausted and squished block cache) and switching tty'...
1
vote
2answers
1k views

What can I do with the output of memtester when it shows bad memory?

Memtester has outputted the following response, memtester version 4.3.0 (64-bit) Copyright (C) 2001-2012 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is ...
1
vote
1answer
88 views

How do I enlarge /home and /swap partitions on GNU/Linux?

Well, I've gotten myself into a sticky situation. I've just upgraded my laptop's RAM from 8 GB to 16 GB. Now, I know that Linux swap partition serves as a "home" for RAM on most Linux distros, ...
0
votes
1answer
54 views

swap partition maximum space & function

so i'm new to ram expensive applications, and I don't really know how swap is working... I've only 10GiB of ram (it's a VM), and 500GB/1TB of available HDD space the java app need roughly 150/200GiB ...
3
votes
0answers
384 views

Centos 7 stopped detecting all RAM on system?

After months of working fine, the BIOS for my Centos 7 installation suddenly maps the wrong amount of memory to the kernel. I have 8 GB of RAM installed and the SO only maps 3.2 GB of RAM. I can't ...
0
votes
1answer
317 views

Solaris11: use a lot of ram

Using this script taken from this site #!/usr/bin/ksh # Available memory memory=`prtconf | grep Memory | head -1 | awk 'BEGIN {FS=" "} {print $3}'` gb_memory=`echo "scale=2; $memory/1024" | bc -l` #...
1
vote
1answer
55 views

Speed up creation of temp files in linux

I have an application for linux I use quite frequently which loves to make a lot of temporary files while it does its work. Basically its software which routes circuit boards automatically and during ...
0
votes
1answer
3k views

Linux Mint Cinnamon - High Ram Usage

I'm using Linux Mint as day-by-day OS, but I'm having a hard time with RAM usage, as 4 of 16 GB are used just when idling... Why is this happening? Is it something I forgot to configure? What can I do ...
0
votes
1answer
53 views

How to conver each GB “manufacturer” RAM to the EXACT MB equivalent gparted uses?

I'm sorry for asking something as elementary, but the information is very confusing and, even when there are ISO recommendations, not everybody follows them. The manufacturer says my laptop has "8GB ...
4
votes
1answer
2k views

How are /proc/meminfo values calculated?

/!\ Current state: Update 3 /!\ Some /proc/meminfo values are a sum or a difference of some other values. However, not much is said about how they are calculated in these two links (just do ctrl-f ...
9
votes
2answers
2k views

Chrome eats all RAM and freezes system

How to prevent chrome to take more than for example 4GB of ram. From time to time he decides to take something like 7GB (with 8GB RAM total) and makes my computer unusable. Do you have any help. PS:...
2
votes
1answer
2k views

How to clear cache,swap and what are the limits?

I am trying to run Docker but I need more memory on my Ubuntu 16.04 free -m total used free shared buff/cache available Mem: 7914 4024 ...
1
vote
0answers
155 views

Why doesn't the Gnome System Monitor show all memory usage?

In the Gnome System Monitor, it doesn't show my virtualbox process, which is running a VM using 4GB (out of 16GB) !! I even sorted the processes by memory size. But in htop, everything seems correct. ...
0
votes
1answer
387 views

`ps` showing much higher ram usage than `htop`

I usually monitor my server resource usage. I am using htop for monitoring. When running htop the memory usage is 1.3G, which is fine for me. But I tried to view the memory used by each process. For ...
3
votes
1answer
184 views

What is exactly happening in this process?

So I ran the following command and I accidentally saw the monitor and I wondered what is exactly happening. can someone explain to me what is exactly happening here? echo "`seq 100000000 -1 1`" > ...
2
votes
0answers
1k views

Why doesn't Ubuntu see all the memory I have installed?

How can this be: $ sudo dmidecode -t memory [sudo] password for dims: # dmidecode 2.12 SMBIOS 2.6 present. Handle 0x0008, DMI type 6, 12 bytes Memory Module Information Socket Designation: ...