Limit Cache Size or Allow Cache Clearing for Apps

On my iPhone, it shows the iNat app is using 21.2 MB and data is 14.63 GB.

1 Like

@ximango

It is so much, maybe it is usefull to sent logging from the iPhone too?

On Android log out:
Settings>To the bottom>Log out

Use the settings cog in the upper right corner. When you open it, you should see an option to Sign Out.

1 Like

For what little it might be worth, I am seeing 726 Mb of user data and 346 Mb of cache on a Motorola Moto G8 Power 2020 running iNaturalist 1.23.14 on Android 11. That does not seem particularly unusual to me, a number of apps pull memory on that same order of magnitude. If someone wants logs, I am happy to oblige.

Done, see below.

Upgrade to version Android iNaturalist version 1.23.18 (507)
Total
9.44Gb–>1.33GB (euh??, more then a 1 GB but less then 1.27+1.02+app zise)

Userdata
9.39GB–>1.27GB

Cache
1.02GB–>1.02GB–>1.63GB–>logout–>1.63GB–>login–>1.63GB, dus cache blijft…


The most recent uploaded observations are missing photo (not urgent)


If the app is taking up more than a gigabyte of space on your phone ,
Logs are sent because space still more then 1GB.

1 Like

Upgrade to version Android iNaturalist version 1.23.19 - 508
Total: 1.73Gb–> 509MB
Appformat:45,61MB—>79,03MB–>59,36MB–>66,89MB
Userdata: 1.68 GB–>430MB
Cache: 1.66GB–>410MB

I guess this release is a special test format because of the size of the app? Same version, different sizes… But the final results are great. The app uses around 0.5 GB what looks OK to me.

After a week using Android iNaturalist version 1.23.21 - 510
Total: 1,06GB
Appformat :48,32MB
Userdata:1,01GB
Cache: 424MB

This looks like we’re still not deleting something. Can you report back in another week? I’m curious if you reach 1.5 GB or if it remains stead around 1 GB.

1 Like

I want to emphasize that the last two changes both were an improvement and it is good they are released recently/yesterday. Thanks they are useful. I have the idea that the trigger to start cleaning does not fire. I updated to a new version 1.23.20 (509) today and the new version brings it back to 600MB (total).
I guess it stays in the range 500MB-1200MB. A new version always will start cleaning so before I reach 1.5 GB will take more then a week.

1.23.20 (509)
Total: 600MB
Appformat: 46,10MB
Userdata: 554MB
Cache: 342MB

I will stop the beta programm and keep track of the data useage:
1.23.20 (509)
Total : 1,02GB
Appformat : 48,20MB
Userdata : 0,97GB
Cache : 522MB

I will upgrade to a new version 1.23.22 (511) after adding the data usage:
1.23.21 (510), 10/10/2021
Total : 779MB
Appformat : 49,69MB
Userdata : 729MB
Cache : 397MB

@optilete or anyone else, are you still seeing disk usage exceeding 1 GB?

I recently reinstalled the app on Android, because my phone said the app (version 1.23.4) was using 14.07 GB of space. Now with version 1.24 space use is back to normal. I had already reinstalled the app at the beginning of summer because of similar space use. Simply logging out of the app had no effect on space used on the phone. Don’t know if this is relevant, but I now add most of my photos to iNat by sharing them from my gallery to the iNat app. Let me know if there is a log file I can send or something.

1 Like

Upgrading to v1.24.0 from v1.23.4 should have added two additional fixes for to cache clearing, so I’m glad to hear that that seems to have improved the situation. Please let us know if you see disk usage exceeding 1 GB while using v1.24.0 or later.

4 Likes

It hits 1,2 GB but I do not think it will ever exceed the 1.5GB

1.24.1 (513), 24/10/2021
Total : 533MB
Appformat : 50,53MB
Userdata : 482MB
Cache : 332MB

(sorry I am late but I missed this post )


iNaturalist Grootte 31,2MB
Documenten 1,43 GB

iPone SE2020
iNaturalist 3.1.1 build 626
SDImageCache 497,405,063 for 196 files
Un-Uploaden 1,415,es

It really shouldn’t be exceeding a few hundred megabytes. Would you mind sending us some log data?

  1. Force quit the app
  2. Open the app
  3. Go to “About”
  4. Tap the version number 3 times
  5. Tap “Send Debug Lots From Start Date” and just choose the current date
  6. Send the email with the attached logs

Please mention me in the body of the email.

1 Like

Today I used the app a bit and the data usage is increasing…
1.24.1 (513), 7/11/2021
Total : 0,95GB
Appformat : 51,21MB
Userdata : 899MB
Cache : 446MB

Logs sent, but what about point 1? I did close the app but with a back button…

1 Like

Using a back button will not force stopping an app is. Most versions of Android will let you force stop an app by going into Settings, choosing a section about apps, choosing iNaturalist, and tapping a “Force stop” button. On my Pixel 3 running Android 12, I can also do this by opening the app switcher and swiping up on the app I want to quit. The reason we ask you to do this is that there are certain tasks, like file cleanup, that only happen when the app is started, not when it is re-activated after being in the background.

1 Like

Thanks, I already noticed that the installation of a new version of the Android app cleaned the storage.

Vetgedrukte tekst Today I used the app a bit and the data usage is increasing…
1.24.1 (513), 14/11/2021
Total : 0,99GB
Appformat : 51,39MB
Userdata : 0,94GB
Cache : 425MB

1.27.9 (551), 11 dec 2022
Total : 572MB
Appformat : 51,14MB
Userdata : 521MB
Cache : 238MB