Skip to content

Reduce memory usage over a long period #2221

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Clementine-Issue-Importer opened this issue Dec 10, 2013 · 12 comments
Open

Reduce memory usage over a long period #2221

Clementine-Issue-Importer opened this issue Dec 10, 2013 · 12 comments

Comments

@Clementine-Issue-Importer

From nicol...@openplaces.org on September 08, 2011 16:48:23

I have Clementine 0.7.1 running for two weeks and it is now consuming 1GB of RAM, even if I only have added one playlist of an online radio.

Here is what top displays:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nicolasm 1682 3.9 14.6 3068380 1125204 ? Sl Aug25 787:36 clementine

After restarting Clementine, it uses only 44MB:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
nicolasm 19062 6.9 0.5 690904 44696 ? Sl 10:46 0:01 clementine

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=2221

@Clementine-Issue-Importer
Copy link
Author

From luci...@gmail.com on December 03, 2011 15:14:28

What steps will reproduce the problem?

  1. Create a library of about 8000 mp3s and add them to a playlist
  2. Check the memory usage on Windows 7 64 bits

What is the expected output? What do you see instead?
Average memory usage of about 30 - 70 MB expected.
Actual about 250 Mb are used. After restarting Clementine, 70 MB are used

What version of the product are you using? On what operating system?
OS: Windows 7 64 bits
Clementine: O.7.1

Please provide any additional information below.
Great program but a great memory usage.

@Clementine-Issue-Importer
Copy link
Author

From Gorheled...@gmail.com on May 01, 2012 04:24:37

I think this is a memory leak bug. I beleieve that radio streams are buffered in r.a.m. memory without proper clean up. So if you listen to the same radio stream for a while clementie grows and grows.. As you can't "rewind" radio stream it's quite useless to keep played bits of data in memory. After closing and restarting clementine everything is fine.

@Clementine-Issue-Importer
Copy link
Author

From bwa...@gmail.com on August 03, 2012 18:39:26

I've been getting memory leakish behavior too. With just one album in a playlist, after every song it goes up ~1 mb ram on song change, right now using about 230mb of ram (and I'm not using internet radio, local files)

Running arch linux 64 bit.

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on November 15, 2012 08:42:11

Issue 3288 has been merged into this issue.

@Clementine-Issue-Importer
Copy link
Author

From rak...@verifaction.co.za on November 20, 2012 03:56:17

Arch Linux 64 (currently up to date)
Clementine 1.1.1 Qt 4.8.3
Playlist : 480 mp3
Attached stats gathered immediately after launching application, and no music playing, no internet radio or visualisations.

While playing :
Kbytes RSS Dirty
total kB 2518000 141156 107032

What steps will reproduce the problem?

  1. Create a library with about 500 songs
  2. Check the memory usage on htop, top, nmon or pmap (Linux)

What is the expected output? What do you see instead?
Low memory usage since the app had just been launched and no music playing.
Excessive memory usage.

What version of the product are you using? On what operating system?
OS: Arch Linux 64bit (latest)
Clementine: 1.1.1

Attachment: clementine_pmap.txt

@Clementine-Issue-Importer
Copy link
Author

From Vladimir...@gmail.com on January 21, 2013 06:18:54

The same issue is reported on Alt Linux https://bugzilla.altlinux.org/show_bug.cgi?id=28378

@Clementine-Issue-Importer
Copy link
Author

From bars...@gmail.com on January 21, 2013 07:13:42

ALTLinux 6.0.2 x32 (branch t6)
Clementine 1.1.1 Qt 4.8.4

Radio-online
Start Clementine, 70 MB are used
After 1 hour of 200MB used, and continues to grow
After restarting Clementine, 70 MB are used
It is noticed when playing mp3 files in 200MB without radio processor boots under 100%

@Clementine-Issue-Importer
Copy link
Author

From john.maguire on January 21, 2013 07:33:12

Labels: Restrict-AddIssueComment-Commit

@risototh
Copy link

risototh commented May 17, 2018

Same here.
When listening to internet stream (http://stream.funradio.sk:8000/80-90-128.mp3), Clementine takes about 7.8 MB per minute. This corresponds to the 128k bitrate of the stream.
I have discovered it today, when Clementine eat 4.5 GB of memory.
You can see it here https://youtu.be/odbnfVg7MBE

@adrhc
Copy link

adrhc commented Apr 9, 2019

Same here:
clementine 1.3.1+git565-gd20c22 amd64
Ubuntu 18.10
Linux 4.18.0-17-generic
Clementine is eating 6.5G of RAM after 12h of radio listening.

@AleixDev
Copy link

Same here (Clementine eats 1.2 GiB of RAM after 40h of radio listening until I restart it)

  • Clementine: 1.3.1-702-g3b76fa627
  • OS: Arch Linux 64bit (latest)

@filipy65
Copy link

filipy65 commented Apr 2, 2021

Same here (have been a long time...).
I tested with Vorbis, MP3 and AAC and always got the same issue.

  • Clementine 1.4 rc2
  • Arch Linux

This issue is marked as fixed and seems be similar, but it keeps existing here.
It can be tested through the radios listed here (by codecs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants