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

RAM usage #14

Closed
bege10 opened this issue Dec 16, 2019 · 12 comments
Closed

RAM usage #14

bege10 opened this issue Dec 16, 2019 · 12 comments
Labels
enhancement New feature or request

Comments

@bege10
Copy link

bege10 commented Dec 16, 2019

On my Samsung Galaxy S5 Plus (SM-G901F), LineageOS for microG 16 (Android 9) I have ~500MB free RAM. TrackerControl uses 200 of it. This is much more than any other app uses and far too much to work smoothly with the phone. Is there a chance to significantly reduce the RAM usage? Or any other solution for phones with limited RAM?

@kasnder
Copy link
Member

kasnder commented Dec 16, 2019

Thanks for reporting this. You’re currently using the prototype of the app, which is far from perfect. I’m sorry. I’m planning a complete rewrite of the app, which should solve this problem. It’s a challenging endeavour though, which will take some time.

@kasnder kasnder added the enhancement New feature or request label Dec 16, 2019
@bege10
Copy link
Author

bege10 commented Dec 16, 2019

The app looks quite perfect already. So thank you for your work and your plan to perfect the app.

@kasnder
Copy link
Member

kasnder commented Dec 27, 2019

I’m now working on the new release, which seems to have a RAM consumption 60-80MB. Trying to have it ready before the New Year.. :) Thanks for raising my attention to this!

@kasnder
Copy link
Member

kasnder commented Dec 29, 2019

New release is online now. This should fix your issue.

@kasnder kasnder closed this as completed Dec 29, 2019
@bege10
Copy link
Author

bege10 commented Jan 10, 2020

Thank you for your work. The new version has 100MB RAM consumption on my phone which is still a bit much for 500MB free RAM.

@kasnder
Copy link
Member

kasnder commented Jan 10, 2020

I’m sorry to hear that and thanks for your continued support. Do you have any experience with the RAM consumption of other ad-blocking apps, such as Blockada or NetGuard? It’d be interesting to compare their RAM consumption. Also, is your phone rooted?

@kasnder kasnder reopened this Jan 10, 2020
@bege10
Copy link
Author

bege10 commented Jan 12, 2020

I noticed that the new version completely blocked traffic. I could solve it by deleting app data. The RAM usage is between 40 and 100MB since, mostly at the lower end. So I think this is OK.
I temporarily installed NetGuard, it needs ~150MB
Yes, my phone is rooted.

@kasnder
Copy link
Member

kasnder commented Jan 13, 2020

Thanks for the feedback! Rooted phones might allow for blocking of tracking without the need for VPN, reducing RAM usage. This is done is other, similar apps, at the expense of network traffic attribution to apps. At the current stage, the objective is to make it accessible for as many users as possible. If the situation should change, I'll let you know!

@bege10
Copy link
Author

bege10 commented Jan 14, 2020

I don't quite understand. Currently TC uses VPN and traffic is attributed both to other apps and TC:

Screenshot_20200111-121926_GlassWire

@kasnder
Copy link
Member

kasnder commented Feb 26, 2020

This probably happens, when you exclude certain apps from blocking in TC. They then bypass the VPN.

@kasnder
Copy link
Member

kasnder commented Feb 26, 2020

RAM usage seems to be related to having opened the UI at some point, as you mentioned in issue #22. In my understanding, Android just keeps the UI in the RAM, to re-open it at a later stage. If you should run short of RAM, Android would free up this memory automatically.

@kasnder kasnder closed this as completed Feb 26, 2020
@bege10
Copy link
Author

bege10 commented Feb 26, 2020

This probably happens, when you exclude certain apps from blocking in TC. They then bypass the VPN.

These apps are not excluded.

kasnder pushed a commit that referenced this issue Oct 19, 2020
* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)
kasnder pushed a commit that referenced this issue Oct 19, 2020
skeeping pushed a commit to skeeping/tracker-control-android that referenced this issue May 10, 2023
* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)

* New translations strings.xml (French)
skeeping pushed a commit to skeeping/tracker-control-android that referenced this issue May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants