Telegram-iOS icon indicating copy to clipboard operation
Telegram-iOS copied to clipboard

Memory usage shows incorrect values

Open VetaLioSTV opened this issue 3 years ago • 3 comments

Checklist

  • [x] I am reporting an issue in existing functionality that does not work as intended
  • [x] I've searched for existing GitHub issues

Description

In latest release of 9.3 client, was renewed/modified setting section called "memory usage". The problem is that it shows incorrect values(see screenshots below). In previously version it shown proper/correct values which corresponds to "reality". Plus it shows incorrect usage of TG client in comparison with total memory (incorrect calculations i guess?) and incorrect translation which doesn't make any sense.

Expected Behavior

Memory usage should show correct/corresponding memory usage of Telegram Client.

Actual Behavior

It shows absolutely random/incorrect values

Steps to Reproduce

  1. Go to memory usage
  2. Check what it's showing
  3. Go to system settings of iOS -> Content of iPhone -> Telegram App -> compare with values that are shown in memory usage of TG client.

Screenshots and Videos

Memory usage (telegram client) - image

Real memory usage of telegram client (iOS settings) - image

Environment

Device: iPhone 7 Plus

iOS version: 15.6.1

App version: 9.3 + 9.4

VetaLioSTV avatar Jan 15 '23 23:01 VetaLioSTV

@laktyushin , @ali-fareed any thoughts?

Also, there is an bug/unhandled case - when account is logged out, all cached data is saved/remains as is and can't be deleted, right?

VetaLioSTV avatar Jan 16 '23 00:01 VetaLioSTV

@ali-fareed it continue to grow, clear cache doesn't reflect reality of used storage. Any ideas?..

image

image

image

VetaLioSTV avatar Jan 31 '23 19:01 VetaLioSTV

@ali-fareed Hello again. I have deleted app and reinstalled again with fresh update 9.4(to free space). Currently i'm using two accounts and after several days of usage tg client(both two accounts), telegram data increased from 100mb to 5GB+. Clear cache doesn't free space correctly/properly. Please take a look -

Here is fresh example of clearing cache, account Nr.1 - image

another account Nr.2 - image

and what shows iOS( again it grow up to 5GB+) - image

Why that happens, its looks like a bug! Any thoughts?

VetaLioSTV avatar Feb 06 '23 16:02 VetaLioSTV

@ali-fareed seems to be in latest updaets it also fixed. Now it clear cache works correctly. Could you please at least ping/mention about changes, because as i can see fix comes "silently"

VetaLioSTV avatar Apr 29 '23 11:04 VetaLioSTV