Skip to content
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

Huge memory consumption #2464

Open
Alukardd opened this issue Sep 26, 2016 · 21 comments

Comments

@Alukardd
Copy link

commented Sep 26, 2016

Description of problem

At this moment tdesktop runs 7days on my laptop.
I use suspending (not hibernating).
And now I have this:
alukardd 2000 1.6 20.6 3985188 1620220 ? Sl Sep19 159:57 Telegram

1.5Gb RSS !!!

I can provide u some additional info until I closed app.

Configuration

Debian stretch/sid

Tdesktop v0.9.56

@hdhog

This comment has been minimized.

Copy link

commented Sep 28, 2016

getnoo Telegramm v 0.10 03.08.16 memory leak over 5Gb on week

@Alukardd

This comment has been minimized.

Copy link
Author

commented Sep 28, 2016

AFAIK, it's because I have several channels with hundreds of thousands messages. And tdesktop has not any garbage collector and never return memory to OS.

On September 28, 2016 8:53:05 AM GMT+03:00, serg notifications@github.com wrote:

getnoo Telegramm v 0.10 03.08.16 memory leak over 5Gb on week

@Aokromes

This comment has been minimized.

Copy link

commented Sep 28, 2016

On the past i used valgrind vs telegram, the result was.. pain.
On windows, atm i have 21d of uptime without close windows and no leak at all.

@ethylmorphine

This comment has been minimized.

Copy link

commented Sep 30, 2016

I think it depends on amount of data (texts and media) and amount of contacts. Mine rarely goes over 300 MB on x64 Debian Stretch.

@zaps166

This comment has been minimized.

Copy link

commented Oct 3, 2016

Telegram 0.10.11 on Linux (custom build), load history from a few weeks/moths containing links, files, GIFs, stickers, sounds, etc and scroll up and down using mouse for a few minutes.
Example result (~46 min of run time, but only a few minutes of scrolling):
spectacle h25737

@dagmoller

This comment has been minimized.

Copy link

commented Jan 18, 2017

2.6Gb of RAM after 4 days...
Running on Linux...

@strangeman

This comment has been minimized.

Copy link

commented Aug 25, 2017

Debian Jessie, Telegram Desktop consuming about 2.5 Gb of RAM after 5 days.

@lorien

This comment has been minimized.

Copy link

commented Sep 10, 2017

Debian Stretch. Telegram Desktop eats few Gb in few days. So now every 2-3 days my system freezes for few minutes and OOM Killer kills some processes. Nightmare.

@POPSuL

This comment has been minimized.

Copy link

commented Oct 31, 2017

I've same issue =(

@dzmitry-kankalovich

This comment has been minimized.

Copy link

commented Jan 8, 2018

Same happens for me on MacOS actually.

@igormp

This comment has been minimized.

Copy link

commented Apr 3, 2018

Can confirm this.
After about a day of usage, it's using over 1gb of RAM.

myimage

@koderrr

This comment has been minimized.

Copy link

commented Sep 7, 2018

Hogs RAM and gets killed:

[320827.895088] Out of memory: Kill process 889 (telegram-deskto) score 918 or sacrifice child
[320827.897542] Killed process 889 (telegram-deskto) total-vm:17257476kB, anon-rss:7434276kB, file-rss:0kB, shmem-rss:0kB
[320828.866089] oom_reaper: reaped process 889 (telegram-deskto), now anon-rss:16kB, file-rss:0kB, shmem-rss:0kB

Telegram Desktop running for 3 days:
ss-2018-09-07-15-38-16

aur/telegram-desktop-dev 1.3.15-1 on Arch.

@koderrr

This comment has been minimized.

Copy link

commented Sep 26, 2018

Must say this is pretty rare. Also it's achieved this state in less than 24h.

photo_2018-09-26_12-15-20

The laptop (8 gig of RAM, 8 gig of swap) became completely unresponsive and was swapping heavily, I had to kill the process via ssh.

aur/telegram-desktop-dev 1.3.16-1

@yermulnik

This comment has been minimized.

Copy link

commented Mar 2, 2019

Is this issue going further? Same memory consumption issue here for me on Linux Mint =( Have to restart app every other day.

@IRGC

This comment has been minimized.

Copy link

commented Mar 2, 2019

image

see my memory usage :|

@xp-vit

This comment has been minimized.

Copy link

commented Mar 4, 2019

Seen similar today on MacOs and Telegram Desktop 1.5.15: Telegram was running for about a week/1.5 and was consuming 3Gb of memory before system rebooted itself after hang.

@yermulnik

This comment has been minimized.

Copy link

commented Mar 4, 2019

I've switched to Franz meanwhile though would prefer using native app.

@Lonedone

This comment has been minimized.

Copy link

commented Apr 23, 2019

I have few contacts and my telegram uses 3GB.
Screenshot 2019-04-23 at 16 42 18
Meanwhile my friend's installation uses up to 10GB.
Screenshot 2019-04-23 at 14 59 14
Such a significant memory leaks you have.

@ssarkisy

This comment has been minimized.

Copy link

commented Jun 25, 2019

Screenshot 2019-06-25 14 22 39

@selivandex

This comment has been minimized.

Copy link

commented Aug 5, 2019

same here

@AydarAkhmetzyanov

This comment has been minimized.

Copy link

commented Aug 15, 2019

7gb )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
You can’t perform that action at this time.