flecs icon indicating copy to clipboard operation
flecs copied to clipboard

High Ram Usage

Open amatorkoleksiyoner opened this issue 4 years ago • 9 comments

With latest update, which is contains last.fm plugin support, this app perfect for me. Because of pandemic mostly I am at home and I left my computer open.

I have 32GB ram on my pc. Yesterday i left my computer open and Youtube Music app on background. By chance I look task manager and I saw that this app almost using 15GB of my memory. Today I test app again its start 300MB memory but 1-2 hours later ist gone to the 1GB memory.

I think electron does not support garbage collection. I think this is serious issue for apps used for a long time like music players.

amatorkoleksiyoner avatar Jun 10 '21 14:06 amatorkoleksiyoner

#81 I want to link with this issue.

amatorkoleksiyoner avatar Jun 10 '21 14:06 amatorkoleksiyoner

I have some proofs. I started app 18:58:38 Ekran görüntüsü 2021-06-17 185838

And after 6 hours ram usage Ekran görüntüsü 2021-06-18 014004

Active plugins Ekran görüntüsü 2021-06-18 014020

amatorkoleksiyoner avatar Jun 19 '21 15:06 amatorkoleksiyoner

Same with me image

MarioGK avatar Jan 09 '22 01:01 MarioGK

I fixed it using compatibility mode for windows 8 yt music error

Sciaopersone avatar Mar 06 '22 20:03 Sciaopersone

I fixed it using compatibility mode for windows 8 yt music error

Having the same issue, so will try this and will report back - thanks!

wefalltomorrow avatar Mar 12 '22 06:03 wefalltomorrow

You should all install the app via YouTube-Music-Setup-1.16.0.exe

The setup is way more stable than the portable version, this memory leak might be related too

Araxeus avatar Mar 12 '22 08:03 Araxeus

You should all install the app via YouTube-Music-Setup-1.16.0.exe

The setup is way more stable than the portable version, this memory leak might be related too

I'm running the latest version, installed not portable. Not sure why you're automatically assuming we're not?

Issue still occurs with the above 'fix', memory just keeps climbing.

image

wefalltomorrow avatar Mar 12 '22 08:03 wefalltomorrow

I'm running the latest version, installed not portable. Not sure why you're automatically assuming we're not?

Just trying to help, wrote a possible solution.

I don't actually know why this seems to happen to some people, I wasn't able to reproduce this (even after 3 days open and playing music, my memory usage was stable)

Araxeus avatar Mar 12 '22 08:03 Araxeus

image

500 MiB Mem usage is also quite high humm

KevinZonda avatar May 25 '22 00:05 KevinZonda

@th-ch isnt this also too much ram? Taskmgr_5sPJwKeWmt

inson1 avatar Nov 08 '23 17:11 inson1

@inson1 latest version works fine for me (MacOS), with constant/not too high memory usage 🤔

th-ch avatar Nov 12 '23 16:11 th-ch

@th-ch it depends on when, this was the highest, I have seen. What is the normal amount?

inson1 avatar Nov 12 '23 16:11 inson1

it depends on when, this was the highest, I have seen. What is the normal amount?

300-500MB RAM usage is typical for Electron applications with video. (Note: If you have the ambient-light plugin enabled, it may use more memory depending on its settings)

JellyBrick avatar Nov 12 '23 16:11 JellyBrick

ok, its normal amount (Maybe it should be added somewhere?)

inson1 avatar Nov 14 '23 13:11 inson1