Questions tagged [memory-usage]
Questions related to memory usage related to RAM, swap; issues expansion, in Ubuntu.
450
questions
0
votes
1
answer
35
views
memory usage is wrong and diagree between gnome-system-monitor and htop (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 ...
1
vote
0
answers
65
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 ...
1
vote
1
answer
88
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 ...
1
vote
1
answer
89
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 ...
0
votes
0
answers
55
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 '{...
0
votes
1
answer
180
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 ...
0
votes
3
answers
219
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 ...
1
vote
1
answer
131
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 ...
0
votes
0
answers
49
views
Using pkill or kill ps aux (inside a script) to kill processes results in Pulseaudio losing audio connection?
I have this script that searches for multiple applications and kills them for situations of low memory (or when browser starts to lag CPU)
pkill -f 'chrome --type=renderer' (Kills only browser tabs, ...
0
votes
0
answers
50
views
Parallel Running Problem for PETSc
I have Ubuntu 20.04.3 LTS as a guest machine. I installed SU2 v7.2.1. I have no problem at serial running. I can parallel run some tutorials (for example with: mpirun -np 6 SU2_CFD example.cfg). ...
0
votes
0
answers
279
views
How to automatically restart Ubuntu service if it gets killed by OOM killer?
In my case that service is Tor.
System log (journalctl -k|grep -i tor) shows that the kernel is killing the service (or its parts?) due to OOM.
So i wanted to automatically restart tor?
ls /usr/lib/...
1
vote
0
answers
463
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 ...
0
votes
0
answers
55
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 &...
1
vote
0
answers
101
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. ...
0
votes
0
answers
43
views
ubuntu showing full memory after replacing windows [duplicate]
I have just freshly installed Ubuntu , after replacing it with windows but now its showing full memory, even though my SSD is empty, kindly help needed i am new to ubuntu
updated
Filesystem 1K-...
1
vote
0
answers
83
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?
0
votes
0
answers
35
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 ...
0
votes
0
answers
180
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 ...
2
votes
0
answers
550
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 ...
0
votes
0
answers
137
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 ...
6
votes
1
answer
248
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. ...
0
votes
0
answers
29
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:~...
0
votes
0
answers
101
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 ...
0
votes
0
answers
22
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 ...
-3
votes
1
answer
239
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 ...
2
votes
2
answers
253
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 ...
0
votes
0
answers
21
views
Ubuntu starts with a black screen
Yesterday my Ununtu started throwing messages that the memory is full and need to delete something (although I had at least 700 gb free the days before) and today morning it refuses to boot showing ...
1
vote
0
answers
337
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 ...
0
votes
0
answers
100
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 ...
1
vote
1
answer
139
views
how to Identify which process is causing computer to freeze?
EDIT 2
While it didn't answer my original question, since increasing the swap to 4G I don't experience any more computer freezes, so I accepted the answer
EDIT
As @heyynema suggested, I ran the ...
1
vote
1
answer
116
views
Understanding the Htop output
I am a recent user of Ubuntu. I am running some simulations in my Ubuntu 20.04 which don't run successfully. When I look at the usage, I see numbers like these.
Does this mean that my machine is ...
1
vote
0
answers
179
views
Why is systemctl showing memory current as [Not Set]?
I have been trying to limit the memory usage of firefox, by following this tutorial: https://dev.to/msugakov/taking-firefox-memory-usage-under-control-on-linux-4b02
In there, we limit the memory usage ...
1
vote
1
answer
104
views
SWAP usage too high after upgrading RAM
I had upgraded the ram on my Ubuntu 20.04.1 LTS from 16 GB to 32 GB. Things seemed to had worked fine, i.e., the machine ran and cat /proc/meminfo showed 32 GB of ram. Today the machine seemed ...
0
votes
0
answers
39
views
Is there a utility to monitor memory for processes over time?
This question has been asked in different ways over time. Specifically, given current versions, I'd like to chart memory usage of processes over time, ideally in comparison with other processes.
Use ...
0
votes
1
answer
86
views
Gnome Shell running, with no one logged into it?
Ubuntu 18.04, logged out of GUI, accessed system via webmin and see an awful lot of memory being consumed by Gnome. Shouldn't this end when all users are logged out of the GUI? Can I kill all this ...
1
vote
1
answer
689
views
Ubuntu won’t boot after changing swap size and running out of space
I was doing a memory-heavy project in python and kept getting an error (137 SIGKILL 9, something like that), so I looked up a solution and it said to change the swap size. I copied and pasted the ...
0
votes
0
answers
340
views
Ubuntu 20.04 OOM killer not configured
The OOM killer on my machine doesn't seem to be configured:
$ sudo -s sysctl vm.oom-kill
sysctl: cannot stat /proc/sys/vm/oom-kill: No such file or directory
I don't remember messing with it, though ...
1
vote
2
answers
200
views
Ram updated from 4gb to 8gb, it only shows 4gb of ram in my ubuntu & 8gb of ram in BIOS
Product- Notebook 15-g002ax (HP 15 notebook laptop) 64bit
OS- Ubuntu 20.04.2 LTS
Memory shows- 3.3 GiB
amd processor, REV: 22CE-100
New ram: Hynix HMT41GS6BFR8A-PB, 8192 MB @ 800MHz (SODIMM DDR3)
I ...
11
votes
8
answers
5k
views
Cached Memory Takes all the memory
I've switched to Ubuntu just a couple of months ago. Some days ago, I found out that the system is storing cache in memory which is occupying a lot of space and although I'm getting the benefit of ...
1
vote
1
answer
96
views
Is it normal for Ubuntu 20.04 to use more memory over time even after all apps (except Stacer) are closed?
I am running 20.04 LTS and having no functionality issues. But I noticed that after booting and logging in, Stacer reports I am using about 1.5GB of RAM. If I don't launch a lot of apps (or if I ...
1
vote
1
answer
96
views
LibreOffice Calc constantly locking as it does unknown memory churn
See my screenshot below. Memory monitor, top right of screen, shows several massive spikes of memory use. During these periods, the entire computer locks, and nothing can be done. These spikes last ...
0
votes
0
answers
104
views
Memory consumption in Ubuntu 20.04
Any hint on why this memory consumption and what can I do to solve it?
Causes my laptop to frequently freeze
1
vote
2
answers
279
views
Automatically manage swap / memory
When filling up all memory and swap my experience the most recent years has been that:
Windows and macOS go "oh, let's fix that for you" and then presumably increase the swap size. Opening ...
0
votes
1
answer
501
views
ulimit to limit process memory usage
I tried
ulimit 1280000 s1-agent
but the process still uses more than that. What did I do wrong? Is there a way to limit it in limits.conf? What line should I put in limits.conf do do so?
0
votes
1
answer
135
views
Freezes while frontend development
I use Ubuntu 21.04. I'm working on an angular application using Visual Studio Code as my editor and Google Chrome for testing on an ASUS VivoBook s15(i7-8thgen, 8gigram, 250ssd). I use ng serve... ...
1
vote
2
answers
8k
views
How to investigate ext4.vhdx file and see what's inside while using wsl2
currently I am using wsl2 and I notice a significant amount of disk space is required for ext4.vhdx, like I know it's Ubuntu's file management system, but I don't deeply understand what's inside, that'...
1
vote
0
answers
26
views
18.04 Swap Size Large than RAM
Something happened after a recent update. I have 5GB RAM installed (one 4GB card, one 1GB) on a Toshiba L750D. After a recent update, it started running super slow. I noticed it is only seeing 708....
2
votes
1
answer
369
views
Unable to free up disk space
I used Kazam to record a 12-minute screen recording and it somehow managed to create a 40 GB file. This caused my computer (really the computer on a Husky robot) to run out of memory. I tried to ...
1
vote
2
answers
764
views
Ubuntu 18.04 OOM Killer keeps getting invoked, but I can't find any sign of out of memory
I have a fresh install of Ubuntu 18.04 Server. I am trying to build it up to replace
a server that has died.
I am having a lot of trouble with OOM Killer killing my logins, my rsync's,
and lots of ...
3
votes
1
answer
2k
views
Out of memory: Killed process
i got Out of memory: Killed process 24502 (python) total-vm:19568804kB, anon-rss:14542148kB, file-rss:4kB, shmem-rss:0kB, UID:1000 pgtables:31232kB oom_score_adj:0
used this command dmesg
how can I ...