tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

How to reduce ram usage? #2516

Closed ClarissaGazalaEvanthe closed 1 year ago

ClarissaGazalaEvanthe commented 1 year ago

I only use 1 account but the ram increases with time

The ram memory for running tdlib is increasing over time, is there a way to keep the RAM from being used too much?

levlam commented 1 year ago

Make sure that all databases are enabled. If they are, then you can't decrease RAM usage more.

vinifr commented 11 months ago

Hello. About that, I was wondering what databases can I enable to save memory besides this one?

parameters->use_message_database_ = true;

levlam commented 11 months ago

@vinifr Only this one.