Commit Graph

5 Commits

Author SHA1 Message Date
Andrea Cavalli
45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
268fd8c4a9 Print warning 2021-08-24 17:34:15 +02:00
Andrea Cavalli
2bcb81bec0 Describe memory cleanup errors 2021-03-13 11:58:58 +01:00
Andrea Cavalli
7e0b964137 Fix #3 2020-12-25 02:34:42 +01:00
Andrea Cavalli
017073e0a2 Add memory optimize and memory stats methods 2020-10-25 03:20:24 +02:00