People who code: we want your input. Take the Survey

Questions tagged [memory-leak]

In computer science, a memory leak occurs when a computer program incorrectly manages memory allocations

Filter by
Sorted by
Tagged with
2
votes
0answers
91 views

Why is Ubuntu 20.04 server is freezing with heavy workload due to memory getting full and not freed while Ubuntu 16.04 is working smoothly

I am running Ubuntu on two the same EC2 cloud instances on AWS server with 1CPU and 1GB RAM. First instance is running Ubuntu 20.04 and the second is running Ubuntu 16.04 I did installation of apache2 ...
0
votes
0answers
31 views

How can I setup & use write-back memory type range from userspace?

Using the sample code from 12.6. Creating MTRRs from a C programme using ioctl()’s I can create a write-back type memory range. However, I was wondering if anyone can tell me how can I use that? I ...
2
votes
1answer
103 views

Ubuntu 20.04.02 - installer crahsed at “almost finished copying files…” (what else can I try)?

Summary I am trying to have a dualboot setup with windows 10. I can successfully boot into Live Ubuntu with the USB stick with persistent data. I can update drivers, etc, and start the installation. ...
0
votes
0answers
18 views

Wsl2 loosing speed / leaking?

I'm running a mapping project on my win10/Wsl2 Ubuntu 20, and the process is a a bash script running imagemagick and analysing colors on maps (500x500px). The script is also writing reports on the ...
4
votes
1answer
244 views

Gnome shell launcher is popping many pages dots after exiting app folder collections, Ubuntu 20.04

Gnome shell app folder bug: I'm using Ubuntu 20.04 for long time and since the beginning that above is occurring many times, my only hope was that it would be fixed with the final stable gnome ...
0
votes
0answers
1k views

Ubuntu 20.04 taking way too much ram

Some time ago I noticed a lot of ram(1.8/8GB) being used when my system was idle with only a day of uptime. I had to reinstall my Ubuntu because of some reason and now the ram usage has risen up much ...
2
votes
0answers
277 views

MongoDB MongoError: Out of memory

I have a newly installed MongoDB server running on an AWS Ubuntu EC2. The server has nothing else installed on it. The DB currently contains 35 documents of 3 MB each, meaning less than 110 MB of data....
0
votes
0answers
85 views

extremely fishy memory usage, unaccounted memory usage (10 gigabytes) ubuntu 20 focal overnight

extremely fishy memory usage, unaccounted memory usage (10 gigabytes) ubuntu 20 focal ran overnight with bashtop monitoring and found that 10 gigabytes apart from ubuntus 3.5 gigabyte base usage had ...
0
votes
0answers
586 views

Find Total Memory Usage of Python Process and its Subprocesses

I have a Python 3 script foo.py that will fork 16-32 additional Python workers during its run. Using the bash shell in Ubuntu 18.04+, is it possible to calculate the total amount of memory being used ...
3
votes
2answers
4k views

tracker-miner-fs is taking 90% of CPU

tracker-miner-fs is taking 90% of CPU. I am using Ubuntu 20.04.
8
votes
3answers
3k views

Gnome 3.36.2 leaking memory and CPU in 20.04

I've noticed lately that the performance of the UI in Gnome 3.36.2 seems to decay with uptime. The most obvious manifestation is that over time, window animations have a delay and feel "sticky". ...
0
votes
0answers
151 views

Ubuntu running out of RAM and crashing and freezing because of it

i have 32GB of RAM in my computer which should be more than enough as a web developer. i think adding more will only delay the out-of-ram issues. i am experiencing issues on Ubuntu where chrome is ...
1
vote
0answers
264 views

udisks eats up 9GB RAM in ubuntu 18.04

Problem: udisks is taking more than 9GB memory in my openstack VM (keeps growing) Note: more than 10 people have reported this so far. OS: Ubuntu 18.04 Gnome version: 3.28.4 udisk version: 2.7.6-...
0
votes
1answer
277 views

My system does not recognize all of my RAM memory

I recently installed Ubuntu 18.04 64 bit, but I have a problem that is not solved in anyway. My system does not recognize the full memory that is installed. My installed memory is 6 GB, but only 4GB ...
3
votes
1answer
216 views

System has 128 GB RAM, but 80 GB is Used Immediately After Reboot

My desktop system has 128 GB of RAM, which I expect most to be free after booting Ubuntu. However, free -m shows that 80 GB is in use, with only 40 GB free. Note that buff/cache is only under 1 GB, so ...
0
votes
0answers
43 views

Hang and speed issue

I am using Ubuntu 18.04 with following details Processor Intel® Core™ i5-4460 CPU @ 3.20GHz × 4 GNOME: 3.28.1 Disk: 422.6 GB Memory 3.8 GB when i used free -m total used ...
0
votes
0answers
102 views

Ubuntu seems to not free RAM memory

I am using Ubuntu 19.04 in a laptop with 12 GB of RAM. When I start the system, everything is fast and responsive, and memory usage is 1.5 - 2 GB. Then if I start resource-intensive programs, like ...
0
votes
0answers
1k views

KDE plasma using too much memory

I use Kubuntu 18.04. When I use it for a long time, opening and closing many applications, the memory usage goes up to 3gb and never comes down after closing all open applications. This issue is more ...
0
votes
1answer
405 views

Weird memory leak on 18.10

I suddenly noticed very weird "memory leak" on ubuntu 18.10. RAM is increasing by itself! And when it reaches the maximum amount of available RAM, it begins from 2gb. Please, watch the video to ...
1
vote
1answer
218 views

Free heap memory

So I'm using Ubuntu for programming I use atom text editor with gcc compiler for C. I want to ask what will happen if I don't clear memory allocated by malloc or calloc? Will the OS take care of it or ...
9
votes
1answer
3k views

Very high Xorg memory usage with Ubuntu 18.04

I'm having a memory leak issue with Xorg and it's taking up huge portions on my memory. Right now, it's up to 41.2% of memory and I haven't even been using the computer that much. This is some output ...
0
votes
0answers
624 views

Lubuntu 18.04 enormous RAM consumption

I am a fresh Lubuntu user looking for a way to work on a relatively old PC with 4 GB of RAM with more than 50 tabs opened in a web browser. Whenever I start the OS and open let's say something like ...
6
votes
2answers
739 views

Mitigation for gvfs memory leak?

I have a workflow like this: I fire up my Win7 virtual machine, connect my smartphone, and run Samsung Smartswitch. This worked great in 14.04 LTS. In 18.04 LTS...not so much. There's a giant memory ...
1
vote
0answers
148 views

Memory leak NMAP on Ubuntu 16 LTS

Using OpenVas for security scans NMAP (7.01-2ubuntu2) for Ubuntu 16 LTS has a huge memory leak. I have 64GB RAM on server and takes a few hours to build up and then server stop responding. 12974 ...
4
votes
0answers
529 views

Memory Hog while using any browser

I am using 64 bit Ubuntu 17.10 running on Intel Quad Core i5 M560 @ 2.67GHz with 3.7GB Ram and 75 G Hard Drive. I am running GNOME 3.26.2. I have noticed that the Mem usage drastically increases as I ...
2
votes
1answer
592 views

How do I find out if my cpu is affected by the intel memory leak?

info: https://www.theregister.co.uk/2018/01/02/intel_cpu_design_flaw/ https://libreboot.org/faq.html#intelme My computer has an intel CPU but is pretty old, from 2007, maybe earlier, so I am ...
3
votes
1answer
780 views

no text entry or keyboard capabilities in firefox browser when running in firejail, or regular usrspace after reboot

Ubuntu 16.0.4.3 Gnome Desktop I have no text entry or keyboard capabilities in my firefox browser when running in firejail, or regular usrspace. Running: firejail firefox --noprofile results in a ...
4
votes
1answer
15k views

Very high cache usage causing slowdown

I'm trying to identify the culprit of what's causing my personal computer to be extremely sluggish. The biggest suspect is memory. When the computer is running fast my cache memory looks normal. ...
2
votes
0answers
411 views

Steam game itself uses 800 MB of memory, but total when running is 4GB RAM + 2GB swap?

System uses 2GB of memory on average, this steam game called Robocraft uses around 800MB of memory when initializing, but the total under Resources is 4GB RAM (max) and 2GB swap?! Here are some ...
-2
votes
1answer
2k views

Memory leak and swap usage ubuntu server 16.04

I used to have a LAMP/file headless server, running Ubuntu server 12.04 and 1 GB of RAM. It worked fine, with no problems for years. When I moved to a new hardware with 4 GB and server 16.04, serving ...
0
votes
1answer
414 views

RAM usage keeps creeping up

Starting from a moment ago, RAM usage began to act up in a weird way. Judging from System Monitor, I can tell the Memory metric keeps increasing non-stop, all the way up to the full capacity and my ...
0
votes
0answers
101 views

High usage of swap sapce

My swap space has a high usage while i've set swappiness value to 10. root@srv35298:~# free -m total used free shared buffers cached Mem: 2012 1941 ...
0
votes
1answer
768 views

Recovery of vim running in screen session after crash of Xorg

Recently my system become unstable because of a mysterious memory leak. As a result I have the Xorg process frequently killed with Out of memory entry in the /var/log/syslog. To save my vim session ...
5
votes
0answers
2k views

firefox memory leak on ubuntu 16.04 [closed]

Firefox consumes so much memory time to time, even when I'm just doing some web surfing that opens 5 tab, it consumes 1,6 GB of my RAM. Yeah maybe unused RAM is a waste. But because of Firefox ...
7
votes
1answer
1k views

Xorg memory leak - Xubuntu 16.04 [closed]

After some time that the computer runs, Xorg starts using ridiculous amounts of RAM: On startup it uses only 50-80 MB, after a few hours it reaches 400-600 MB, and after 2-3 days it can reach more ...
1
vote
2answers
331 views

Variety eating up memory and cpu

I am using Ubuntu 16.04, 64 bit, 2gb ram. I intalled variety and using for last two months and it was working fine. But recently my system after bootup was not responding. The top command showing '...
2
votes
0answers
889 views

Memory error while using keras

I am using keras for CNN but the problem is that there is memory leak. The error is anushreej@cpusrv-gpu-109:~/12EC35005/MTP_Workspace/MTP$ python cnn_implement.py Using Theano ...
1
vote
1answer
706 views

Does Cppcheck has a gui for ubuntu 14.04?

I want to use Cppcheck for my C++ based program. If yes, how do I install it? I can't seem to find any instruction for that anywhere. Thanks
5
votes
1answer
4k views

High SHMem memory usage!

I have tried everything I could think of so here I am asking this question here... I have a computer that has 8 GB of RAM. After booting the computer, logging in, not opening any applications and ...
0
votes
1answer
168 views

Computer slows down

I am running latest Ubuntu having upgraded (twice now I think). When I boot up, my computer is using 600Mb of memory. I then use 3 instances of Chrome with multiple tabs, Atom and VS Code and run gulp ...
1
vote
0answers
160 views

How can I solve 'memory leak' of Digikam 4.12 in Ubuntu 14.04 during maintenance?

I wouldn't wanna miss Digikam: it fulfills all my needs (and much more). Unfortunately, I ran into some serious trouble, so that much functionality is lost: during maintenance tasks, the program ...
0
votes
1answer
100 views

0 byte memory left after update

since a few weeks, I faced the same problem several times. All of a sudden, I get a system message like "0 bytes memory left on hard drive". Naturally, programs stop working normally and I can't save ...
0
votes
1answer
100 views

Which system monitors are able to show me a non-rounded memory usage?

Backstory: I am trying to detect memory leaks in a program by viewing the memory used from the system monitor, and seeing if it rises while doing a certain activity. System Monitor unfortunately ...
1
vote
1answer
599 views

Ubuntu 14.04.1 is consuming 7.8 gigs of 8 gigs ram?

Actually had to create a new account due to openid 2.0 obsolete....I havent been on Askubuntu in quite awhile but tonight I was doing some work on a website when noticing my computer for once was ...
2
votes
0answers
1k views

X.org is allocating more than 900MB of RAM but xrestop says ~1/40th of that is actually used; how I force it to free the rest without restarting X?

So X.org is allocating an insane amount of RAM: right now 910MB (according to the RES column in htop), second only to Firefox (really Nightly) (at just over 1GB) and trailed by GNOME Shell (at only ...
7
votes
1answer
6k views

Gnome 14.10 memory leak, over 5gb of gnome-shell [closed]

I am experiencing a pretty huge memory leak from gnome-shell and after a while memory is up to over 5GB. I have 8GB of system memory and when the system starts using swap the whole system slows down a ...
0
votes
2answers
1k views

Understand free command with top command

I have a doubt. I start ubuntu and run free command. I will get the total free space available. Let say it as 100MB. Now I run a few applications. So after some time, I again run the free command. ...
2
votes
0answers
750 views

TuxOnIce hibernate error “seeking to free XXXXMB of memory” on Ubuntu 14.04

My desktop PC did not support for hibernate on Ubuntu 14.04. Therefore, I installed TuxOnIce (kernale 3.13.0-36-generic-tuxonice) to enable hibernate feature. Now, the hibernate feature works fine on ...
35
votes
3answers
32k views

loadparm.c:4864, leaking memory?

I’m running Ubuntu 14.04 Server with a LAMP stack, Samba, and FTP, no GUI, just SSHing into the server and working on it. I’m having trouble searching down a solution to this issue, but as far as I ...
32
votes
4answers
239k views

Why am I frequently getting this “Cannot allocate memory” error?

I'm using Ubuntu 12.10 with Gnome-Classic. I am getting this error frequently and with almost all programs, big and small. When I try to open them, they don't start, and instead I get an error message ...