As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [memory-usage]

Questions related to memory usage related to RAM, swap; issues expansion, in Ubuntu.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

How to fix a partially balanced memory configuration?

We have an Intel Xeon Gold 6230 based server under Ubuntu 20.04.5 LTS with a specific memory configuration. It has 2 sockets with 6 memory channels in each and 8 memory slots all filled with 32G DIMM ...
aparpara's user avatar
  • 101
2 votes
0 answers
20 views

Skype taking too much virtual memory

When starting skype under Ubuntu 22.04.2 LTS it starts several processes. Two of them occupy 41.2GB and 32.6GB of virtual memory. Is that really needed? Are there files that can be deleted freeing ...
Mark's user avatar
  • 21
0 votes
0 answers
41 views

Ubuntu root partition is full, system won't boot, and "sudo apt-get clean" isn't working

I set up an Ubuntu rig to host Plex and act as a file server on my local network. I'm new to Ubuntu, so I followed directions and things seemed to be running fine--no problems with boot up or memory. ...
Forgot the Jacobian's user avatar
1 vote
2 answers
353 views

MariaDB killed by OOM Killer every couple days

my MariaDB server is being killed every couple days. × mariadb.service - MariaDB 10.6.12 database server Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled) Active: ...
Johnathan Nguyen's user avatar
0 votes
0 answers
60 views

Memory comsumption of 22.04 is abnormally high and unstable

I've been using 22.04 LTS on a VMware virtual machine. The host OS is macOS 10.15 Catalina and the hardware is iMac Late 2013 (21.5inch). VMware Fusion is used for the supervisor. 4GB memory is ...
hakanekat's user avatar
0 votes
1 answer
128 views

Out of memory at early stage of boot

I have a Ryzen 9 with 32 GB of RAM. Often, just after the GRUB menu, this message appears in the top left corner of the screen: Error: out of memory Press any key to continue... Pressing a key leads ...
Mark's user avatar
  • 447
15 votes
5 answers
2k views

Check memory usage of process which exits immediately

I have built an application which takes less than 1 sec to execute. I want to check the memory usage of this application. What are the tools which can be used in this scenario?
doptimusprime's user avatar
0 votes
1 answer
266 views

What is the delete target of "echo 2 > /proc/sys/vm/drop_caches" command

sync echo 2 > /proc/sys/vm/drop_caches After I execute above command, available memory is significantly increased than below consumed Slab memory. cat /proc/meminfo | grep Slab Slab: 6169212 kB ...
M.Ozawa's user avatar
  • 13
-2 votes
1 answer
627 views

Why does the sum of my processes RAM usage not match the total? [duplicate]

When I look in gnome system monitor after a fresh boot, it says I am using 2.1 gb of RAM. When I go into the processes tab, and sum the memory usage of all of the processes, it only totals to about ...
Scorb's user avatar
  • 440
0 votes
1 answer
43 views

after changes in CPUQuota my system became very slow

I changed the CPUQuota=50% so that my system could use mimimum CPU resources but due to these changes my system became very very slow could anyone please help me to revert these changes and bring my ...
Anup Ganvir's user avatar
4 votes
1 answer
451 views

How can I correctly calculate the sum of memory used by all processes?

There recently was a couple of questions asking why Ubuntu is seemingly using more memory than accounted for by processes/services - here and here. However, I have the exact opposite situation. On my ...
Artur Meinild's user avatar
1 vote
1 answer
94 views

How to calculate used memory of 'free' command

How to calculate used memory? In below case, 15784520(RSS memory of 'top' command) + ? = 16031516(used memory of 'free' command) root@host:~# free -w total used free ...
M.Ozawa's user avatar
  • 13
0 votes
0 answers
46 views

RAM not detected correctly

I just installed Ubuntu 22.10 in my laptop with 8 GB of RAM. I was doing some tests to test the performance of the pc when I notice that Ubuntu see only 6.7 GB instead of 8, and I don't understand why....
Ludovico Latini's user avatar
-1 votes
1 answer
411 views

Large /var/log/syslog.1 file. What should i do?

I have an ubuntu 22.04 LTS, I've notice that i'm running out of memory so I've analized the disk and found a file called /var/log/syslog.1 of 11,5Gb, can i delete it? I also have noticed a backups ...
jack07Code's user avatar
0 votes
0 answers
34 views

How do you calculate the same memory shown in "System Monitor"? and is that the correct calculation?

I've seen these prior questions Why does memory usage shown in System Monitor differ from that in ps_mem? System Monitor and free don't say the same but, they seem to only be answering "why ...
NullVoxPopuli's user avatar
0 votes
1 answer
161 views

Multiple Un-killable Looping Processes Spawning

I'm desperately trying to work this one out, so thanks for taking a look. Context: Whilst trying to make a large file transfer from my Ubuntu PC to an external hard-drive, using rsync I believe, I ...
CSaward's user avatar
0 votes
0 answers
37 views

Deleted files from external SSD but it will not let me write new files to SSD - Ubuntu 18.04.5 LTS

Ubuntu version 18.04.5 LTS My external SSD filled up in memory so in an attempt to clear up space on my drive I decided to delete many files permanently. I deleted about 1.4TB and after running df -h. ...
NeuralNew's user avatar
8 votes
3 answers
2k views

Is the kilobyte used by time and ulimit commands either 1000 (SI) or 1024 (old school) bytes?

From man time: M Maximum resident set size of the process during its lifetime, in Kilobytes. From ulimit -a: max memory size (kbytes, -m) unlimited But a "kilobyte" may mean ...
abukaj's user avatar
  • 409
-1 votes
1 answer
42 views

Can't enter reboot mode after encountering "Started Hold until boot process finishes up"

I've encountered the classical "Started Hold until boot process finishes up" due to memory fulling. I've followed the guides trying to enter reboot mode to remove some files, but when i turn ...
Twm1995's user avatar
0 votes
1 answer
444 views

Finding CPU and memory usage after running specific file

After running the python file, how can I get CPU and memory usage information using the top command for this file? When I'm trying to find that, I wrote the base of code on my python file to know what ...
M.S's user avatar
  • 3
0 votes
0 answers
240 views

Memory leak while playing minecraft on Kubuntu 22.04

So I recently switched from Windows 11 to Kubuntu in order to, ironically attempt to fix a bizarre graphical glitch in a specific minecraft modpack (GT:NH) I was playing that made it unplayable. That ...
Arelus's user avatar
  • 1
1 vote
0 answers
80 views

"free -g" and top reporting wildly different memory usage on MySQL server

I am aware of buffers, cache, swap, etc. but can anyone explain this one to me? First, Here's a TOP output sorted by memory usage. Note that MySQL is using 39.4% of the RAM in the system. Every other ...
Tony Maro's user avatar
  • 307
0 votes
0 answers
436 views

Python subprocess.run(), measuring memory usage

How can I measure memory used by a process, that is run using subprocess module? Measuring time is easy, just take now() before and after, but memory? subprocess.run(["python3", "...
ArekBulski's user avatar
  • 1,171
-1 votes
2 answers
1k views

Ubuntu Server 16.04 vs 20.04 memory usage

It seems like Ubuntu 20.04 consumes 4 GB of memory on virtual box while Ubuntu 16.04 consumes very very less. This is a new VM, only the OS was installed. The memory requirements for Ubuntu 16.04 is 1....
user630702's user avatar
0 votes
0 answers
47 views

How should I add more memory to root folder [duplicate]

So I followed a tutorial that told me to partition my memory as follows - 20GB in / (i.e. the root folder) and the rest(150 GB) in /home (i.e. the home folder) Pictures from the tutorial:- Img1 ...
Thugunb's user avatar
2 votes
0 answers
169 views

Ubuntu 20.04, Memory cache exhausts immediately upon booting

I'm not a supernerd, but I know some stuff, and I'm pretty sure my system is not supposed to work like this. I recently reinstalled Ubuntu 20.04 from the bones up on my home-built desktop because I ...
Deges's user avatar
  • 21
4 votes
1 answer
1k views

Qemu (virt-manager) memory leak on ubuntu 22.04

I'm having a RAM problem where my RAM is full but there's nothing consuming al of it. The sudo htop commands shows my real memory usage, while sudo gnome-system-monitor shows the memory full. It ...
Rafaelo's user avatar
  • 107
1 vote
0 answers
2k views

How to clean up Ubuntu 22.04 active services that are not needed when used as a virtual machine and only for light predominantly non-GUI usage?

I'm using Ubuntu 22.04 in a relatively light fashion. My use case is in a virtual machine that runs all of the time, but very occasionally I need to use the graphical user interface. I did this on ...
ylluminate's user avatar
  • 1,289
1 vote
1 answer
966 views

RAM and Swap memory not freed after python calculation?

I have Ubuntu 21.04 and I started to have a particular issue some time ago. I have python programs I run regularly, sometimes re-running the same thing without any differences. But since some time, my ...
BitterDecoction's user avatar
3 votes
1 answer
807 views

Limiting RAM usage with prlimit

I need to run a program not written by me (i.e. BLAST) on linux (Ubuntu 20.04.3 LTS), and I need to set the limit for RAM usage for this specific case, since I am working on a shared cpu. Also, I ...
ashenflower's user avatar
0 votes
0 answers
183 views

memory "used" and indicated in "ps" doesn't add up

I cannot track of memory used in my system. "System monitor" graphical tool tells that I use 18GB of memory. Then "top" tell me 16.4GB htop - 6.94 GB The command: ps aux | awk '{...
lacek's user avatar
  • 121
0 votes
1 answer
3k views

Extremely large "VIRT" memory usage reported by `top`

On Ubuntu 20.04.4 LTS, on a machine which is a few years old. The attached screenshot of the output of top strikes me as really odd: I have a regular PC (nothing fancy) with 16 gigs of ram and no ...
Kevin Buzzard's user avatar
0 votes
3 answers
1k views

Understanding memory usage in Ubuntu - after upgrading to Ubuntu 21.10 from 20.04 my memory usage increased dramatically

After reading a lot of different articles on the Internet I'm still confused about how to find exactly what is using my memory. After upgrading to Ubuntu Server 21.10 from 20.04 my memory usage ...
Rychu's user avatar
  • 463
1 vote
1 answer
351 views

GeckoMa process seems to consume lot of CPU

I have been getting this weird problem lately, gecko process seems to consume lot of CPU processing , and this is becoming irritating , is there any fix for this and why is it happening ? PID USER ...
Atif Shafi's user avatar
4 votes
0 answers
4k views

How do I fix high memory usage on Ubuntu 20.04.3 LTS?

Ubuntu 20.04.3 LTS is using a lot of memory, (10.1GB out of 12GB of RAM). The RAM fills up over time and reaches dangerously high levels of usage, even when I am using only 2 applications. I've tried ...
Devvrath's user avatar
  • 301
0 votes
0 answers
132 views

Out of memory, "shared" and "buff/cache" consume entire memory

The oom_reaper always kills our application although the memory is not used by the process itself. free -m, just before the OOM killer terminated the process, indicates that "shared" and &...
domsch's user avatar
  • 1
1 vote
0 answers
230 views

Ubuntu 20.04 has recently started to use swap very aggressively

I use Ubuntu 20.04 with 16 GB RAM and a swappiness setting of 10. This has worked well in the past, but sometime during the last month I feel there has been a huge shift in the way memory is handled. ...
Markus's user avatar
  • 21
1 vote
0 answers
140 views

Mailspring ridicoulus high memory usage

Mailspring is advertised as a lightweight client but it is consuming 1G+ of RAM, which compared to thunderbird is a lot, is there any way to fix this?
GBT55's user avatar
  • 155
0 votes
0 answers
112 views

Free swap file space contained on root partition without rebooting to free space checked by df

I have created a temporary Swap file (/var/cache/swap/myswap) of 500GB on a Ubuntu worstation at work wiht 1TB RAM. This swapfile is on a BTRFS filesystem. I don't need anymore of this swapfile now ...
youpilat13's user avatar
0 votes
0 answers
233 views

Low Disk Space on "Filesystem root"

I have both HHD 1TB and SSD 240GB. I installed ubuntu on my SSD but recently I got this notification Low Disk Space on "Filesystem root" Here is the result of df -h. I'm never got this ...
Tu Le Thanh's user avatar
5 votes
0 answers
2k views

Xorg using all my memory RAM?

I am having some memory problems that I don't know how to explain, and I don't have the knowledge to investigate it properly. Hope someone can guide me through it. Since yesterday my notebook (Ubuntu ...
Paulo Cesar's user avatar
0 votes
0 answers
1k views

sudo apt full-upgrade // you don't have enough free memory space in /var/cache/apt/archives

There are many similar questions to mine on this site. However, over the last few hours of trying to sort through this matter, I have arrived exactly nowhere. At this time, I think that my system ...
Michael Levy's user avatar
6 votes
1 answer
645 views

What is the effect of packages installed by snap on memory usage?

I never used snaps before. When reading the vague descriptions I assume it's implemented in a way really similar to containers. This makes me assume that programs in snaps all use their own libraries. ...
Garo's user avatar
  • 172
0 votes
0 answers
41 views

file system root without memory

I have recently encountered an issue with a pop-up window in my Ubuntu16.04 saying that I have little memory available in the "file system root" The output of df -h command is: myname@myPC:~...
GEBRU's user avatar
  • 101
0 votes
0 answers
215 views

How to limit CPU utilization for a process in ubuntu vm

I am using ubuntu 20.04 VM for a course. For an assignment, I need to run a command that creates some thread and two processes happen simultaneously. However as soon I run the command ubuntu slows ...
Kutsit's user avatar
  • 103
0 votes
0 answers
25 views

How to estimate the L2 shared memory usage on Ubuntu

I'm trying to improve the performance of one of our systems and I'm supposing that the bottleneck resides on the L2 shared memory of my CPU. Thus, I'm looking for a way to estimate how much of my CPU ...
Duloren's user avatar
  • 695
-3 votes
1 answer
1k views

How to clear cache? [closed]

Result of after entering free in terminal ronay@MackbookPro:~$ free total used free shared buff/cache available Mem: 3893824 2748748 120040 ...
Pronay Sarker's user avatar
2 votes
2 answers
1k views

memory empty but swap full?

I'm on Ubuntu mate 21.04 with swappiness set to default 60. Why is the system predominantly using the swap if there is ~55 GB of empty memory? The swap file is on nvme drive but memory is still ...
ThomasHunter's user avatar
1 vote
0 answers
1k views

Swap partition configured, but showing 0 usage despite running out of memory

I have an Ubuntu 20.04.2 machine that I configured to boot from raidz2. During the original setup, I chose not to use swap. At the time, I didn’t have a spare drive and I had heard that there could be ...
Rook13's user avatar
  • 11
1 vote
0 answers
304 views

Getting aggregate memory usage of a Linux process?

How is it possible to aggregate memory usage of a Linux process and all its children in human readable format? I tried this link and even using cat /proc/$pid/status but the latter had 18GB of ...
Masked Man's user avatar

1
2 3 4 5
10