dj0abr / QO100_Transceiver

QO-100 Software Transceiver using an Adalm-Pluto and an SBC (Raspberry, Odroid ...)
GNU General Public License v3.0
43 stars 10 forks source link

ubuntu - the memory (RAM) fills up slowly... #8

Open hb9dug opened 3 years ago

hb9dug commented 3 years ago

Bonjour Kurt,

Bravo for this well done software. I started using it on an ACER SPIN 5 laptop, I7-8550U 1.80 GHz x 8, 8 GiB of memory with ubuntu 20.04.02 LTS.

The program runs correctly for about 5 min., then the GUI freezes, the sound also cuts out, loops and then the laptop crashes... On the console, I see a message: underflow xxx.

Running System Monitor, I found that the memory was filling up steadily from 1.1 GiB to the maximum available 7.7 GiB... generating the problems described above I presume.

I am at your disposal if you need more information.

73 qro de michel, hb9dug

dj0abr commented 3 years ago

Hallo Michel,

the reason for this memory problem is an outdated package of the mono-project. I have written a new installation script which automatically updates it to the newest version. Please delete the complete QO100_Transceiver directory and then continue as described under "installation". vy 73, Kurt, DJ0ABR

hb9dug commented 3 years ago

Bonjour Kurt,

I did as proposed above and unfortunately the issue is still present. To be sure that the issue was not related to the Acer Spin 5 laptop, I did the install on a second laptop (ubuntu 20.04) who has never had a mono installation. The issue is also present.

73 qro de michel, hb9dug

dj0abr commented 3 years ago

Hallo Michel,

I think my install script does not handle your specific installation, I have to improve that. Could you please tell me the output of the following commands:

mono -V

uname -m

cat /etc/os-release

thank you.

In the meantime to get it running, please go to the site: https://www.mono-project.com/download/stable/

and make the upgrade that fits to your system. If the command mono -V returns version 6.12.... then the problem should be fixed.

vy 73, Kurt, DJ0ABR

py2sdr commented 3 years ago

Hello Kurt,

Thank you for taking the time to implement the QO-100 Transceiver software. Much appreciated.

I am also having the same memory leak issues as reported by Michel HB9DUG.

My system:

Ubuntu 20.04.03 LTS

uname -m x86_64

mono -V 6.12.0.122

In my system, mono grows from about 800 MB to over 4 GB in about two to three minutes. Eventually, mono crashes the system.

73, Edson PY2SDR

dj0abr commented 3 years ago

Hello Edson, 6.12.0.122 is the actual version which should be ok, but I will test your setup. You are using a desktop PC 64-bit. I will test this ubuntu version in a VM vy 73 Kurt

dj0abr commented 3 years ago

Hello,

I tested the two actual Ubuntu versions 20.04.3 and 21.04 and did not see any memory leak. Of corse, I tested on fresh installed ubuntu versions from here: https://ubuntu.com/download/desktop

A memory leak was an issue with an older mono-version. So possibly there are some old files on your hard disk, thats hard to tell. If possible please make an Ubuntu fresh install, and then run the install script as described here: https://wiki.amsat-dl.org/doku.php?id=de:plutotrx:installation

then you could use 21.04 which is a bit more efficient in memory.

vy 73, Kurt