> For the complete documentation index, see [llms.txt](https://catatan.raniaamina.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://catatan.raniaamina.id/yes-solved/linux-general/fix-telegram-bloated.md).

# Fix Telegram Bloated pada Debian

#### Indikasi Masalah

Ketika di-launch aplikasi Telegram Desktop perlu waktu load lebih lama dari biasanya. Fyi, biasanya ketika di klik telegram akan langsung terbuka maksimal dalam 2--3 detik.&#x20;

Selain itu, jika diperhatikan pada htop, konsumsi memori telegram desktop ini sangat tidak logis, biasanya hanya dikisaran 120--250 MB, ini membengkak jadi 3,5 GB!

![](/files/-LyWkq8QbyZgTc69Xol6)

#### Temuan

* Kasus ini terjadi di Debian Sid dengan desktop KDE dengan versi telegram 1.9.3
* Beberapa orang mengalami hal yang sama dan sebagain besar adalah pengguna Debian, dan beberapa lainnya adalah pengguna distro lain (Manjaro, Ubuntu, Mint dkk)
* Pencerahan dari issue di sini: <https://github.com/telegramdesktop/tdesktop/issues/6983>, bahwa versi telegram terbaru secara otomatis memuat semua kamus ejaan yang ada pada sistem.&#x20;

#### Solusi

Ada beberapa pilihan solusi, pertama mengompile ulang Telegram dan mematikan fitur load dictionary (silakan lihat pada issue di repo telegram desktop), atau menghapus paket-paket kamus yang tidak dipakai. Saya pribadi lebih memilih cara yang kedua, karena sekalian membersihkan sistem dari paket yang tidak digunakan.

```bash
# melihat kamus yang terpasang
apt search myspell | grep installed

# membuang dulu semua paket kamus
sudo apt remove myspell-*  
sudo apt remove hunspell*  
sudo apt remove aspell*

# memasang kembali kamus yang dibutuhkan saja (ini versi saya)
sudo apt install hunspell hunspell-en-us hunspell-id aspell aspell-en

```

\
Sumber Solusi:

<https://github.com/telegramdesktop/tdesktop/issues/6983>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://catatan.raniaamina.id/yes-solved/linux-general/fix-telegram-bloated.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
