Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
10 views

migration from centos 7 to Ubuntu 22.04 MYSQL High Memory and not getting released

migration from centos 7 to Ubuntu 22.04 MYSQL High Memory and not getting released free see slowly buffer getting zero
S M's user avatar
  • 11
0 votes
0 answers
55 views

Running out of memory when building catkin workspace

I'm trying to build my catkin workspace using the "catkin_make" command but I'm always running out of memory. In fact, the error that I get is the following: Invoking "make -j16 -l16&...
Daniele's user avatar
0 votes
0 answers
75 views

Ubuntu 22.04 crashes when out of memory

My Ubuntu system always crashes and resets the user log in whenever it comes close to running out of memory. I checked the logs and I these two messages: oom_reaper: reaped process 2558094 (brave), ...
Jeroen Vermunt's user avatar
-1 votes
1 answer
35 views

Swap to files not working

I have all my swap used (by Rust compiler) and it didn't grow despite I do have swapspace package installed. total used free shared buff/cache available Mem: ...
porton's user avatar
  • 83
0 votes
0 answers
28 views

/proc/iomem shows multiple memory maps

We have a single Intel NIC card attached that lspci lists as below and NIC driver is 'ixgbe'. The /proc/iomem shows multiple memory mapped for ther driver ixgbe, 81:00.0, and 81:00.1. I believe the ...
user5016380's user avatar
0 votes
0 answers
101 views

Limit Ubuntu RAM Usage (for the whole OS, not a process)

I have 24GB of ram, and using KDE. For some reason, I want my OS to see only 10GB of RAM. When I get free -mh it tells me that my physical memory is 10GB. How do I do that? Note: My problem is with ...
Mohammad Kholghi's user avatar
0 votes
0 answers
102 views

lubuntu - Live USB Installation Keeps Warning "No Space Left on Device" But Swap, RAM, and Data Partition Have Space

I installed lubuntu on a flash drive along side a few other distros using ventoy, there is also a ~10GB partition for data. But it seems the storage space is shrinking. Its a new drive, 64 gigs, but ...
The Floating Brain's user avatar
-1 votes
1 answer
115 views

Ubuntu high memory usage [duplicate]

Ubuntu 22.04.2 LTS I just installed Ubuntu Linux today without any programs to install But 90% of my memory is still full Do you have any way to help me?
A ubuntu user's user avatar
0 votes
0 answers
236 views

Way to high virtual memory usage

So, I recently notices that on Ubuntu, programs are using way too much virtual memory. system monitor screenshot How is MS Edge even using 1.2 TERA BYTES?? of Virtual Memory. I've 16 GB physical ...
Achilles's user avatar
1 vote
1 answer
244 views

Available memory low despite no process using a lot of memory

so I fired up my personal Ubuntu 22.04 server today, and noticed that it was extremely slow in comparison to yesterday. I checked via commands what was going on and am really confused: As you can see ...
Franky's user avatar
  • 13
0 votes
1 answer
73 views

Root folder is running out of space

I am getting an error: / is running out of space when I work with the creation of docker images. Then I tried to list the top 10 large files on my computer's filestystem. It listed out 10 files/...
Imtiaz Ahmed's user avatar
-1 votes
1 answer
213 views

What is soaking up my free memory?

I have computer handling various functions for our community radio station, including processing the program audio for broadcast. It's running remotely and sends daily health emails for me to keep an ...
thatjackelliott's user avatar
0 votes
2 answers
418 views

Why does memory-heavy processes lead to system crashes when swap is available?

I run a bath (snakemake -j 1) of memory-heavy operations in Python: subtracting two arrays up to 15 GB each, then calculating norms of the difference. Surprisingly my system started to misbehave: ...
abukaj's user avatar
  • 475
2 votes
1 answer
183 views

Why low swappiness (10) leads to system crashes? [duplicate]

As I have 128 GB of RAM, I wanted to minimize swap usage by setting vm.swappiness to 10. I ran a bath (snakemake -j 1) of memory-heavy operations in Python: subtracting two arrays up to 15 GB each, ...
abukaj's user avatar
  • 475
1 vote
0 answers
263 views

Why is this bus error occurring when reading through a shared memory object?

Version: Ubuntu 22.04.3 GCC: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04) Hi, I'm trying to create a program with a very large shared memory object. This is being done on an AWS EC2 instance with 130GB of ...
geenweb's user avatar
  • 29
2 votes
0 answers
3k views

Unexpectedly high memory usage in Ubuntu 22.04.3 LTS

I have noticed for a while now that my system seems to be using up my memory much more quickly than I would expect. When it gets like this, I do notice it slowing down a bit at time, and my fan starts ...
Niven's user avatar
  • 231
0 votes
1 answer
187 views

How to check how much memory is being used for a software and how to increase memory for it?

Specifically, I'm using Ubuntu 22.04 and since the Rstudio software gets laggy sometimes, I want to check how much memory is being used for Rstudio and how to grant more memory for it. How should I do ...
Juan's user avatar
  • 1
0 votes
0 answers
199 views

Twitch.tv Slowly Uses 100% Memory and then Freezes Computer

Every time I try to access twitch.tv through Vivaldi, the memory usage on my system will slowly increase to almost 100% while the twitch.tv homepage does not finish loading. If I do not close the tab ...
Lynx's user avatar
  • 1
0 votes
0 answers
33 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
93 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
349 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
5 votes
2 answers
8k 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
277 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
3k 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
  • 517
17 votes
6 answers
3k 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
914 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
-1 votes
1 answer
2k 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
  • 820
0 votes
1 answer
132 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
1k 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
253 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
91 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
0 votes
1 answer
3k 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
1 answer
368 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
51 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
9 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
  • 475
-1 votes
1 answer
48 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
616 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
434 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
137 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
-1 votes
2 answers
3k 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
273 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
2k 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
  • 145
1 vote
0 answers
3k 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,499
1 vote
1 answer
2k 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
4 votes
1 answer
2k 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
1 vote
0 answers
494 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
  • 131
2 votes
1 answer
7k 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
2k 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
  • 493
1 vote
1 answer
408 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

1
2 3 4 5
10