Android app crashing during upload

Please fill out the following sections to the best of your ability, it will help us investigate bugs if we have this information at the outset. Screenshots are especially helpful, so please provide those if you can.

Platform (Android, iOS, Website): Android

App version number, if a mobile app issue (shown under Settings or About): 1.36.8 (628)

Description of problem (please provide a set of steps we can use to replicate the issue, and make as many as you need.): Today I made 23 new observations in the field. Every time I try to upload these observations from my Android app 1.36.8, iNaturalist crashes.

Step 1: I press Upload. iNat says “Preparing…” for about 5 seconds, then the whole iNat screen disappears and my phone returns to its home screen. Nothing has been uploaded.

Step 2:

Step 3:

1 Like

What size are the photos you are uploading? Something similar to this happens sometimes to mine, but I have noticed it only happens when I have my phone camera set to 50 megapixel images. When selecting photos taken at 12 megapixels, there are no issues.

1 Like

Thank you for the tip. I haven’t changed any camera settings lately, and the photos have always worked before. I just looked at the photos for the first observation to be uploaded. They are all about 1.0 MB in size, which seems reasonable.

I just looked at more of the photos. While most are in the 1.0-1.5 MB range, some are in the 3-5 MB range, and a very few are in the 7-9 MB range. Do you know what the size limit for iNat might be?

In my camera settings, the standard photo size is 16 megapixels.

I have had this problem before. I discovered the cause was that my phone was putting an incorrect time stamp on anything captured between 11 p.m. and midnight, and was actually showing a time in the future. iNaturalist wasn’t able to process the time stamp until 24 hours went by. Same issue with the looped ‘preparing’ and crash.

4 Likes

I don’t have a solution, but I’d like to add that I started experiencing the same today–crashing during observation upload. Google Pixel 4a-5G, Android 14.

Could it happen because of poor internet connection in your region? I had the same during a was in a small valey, and later on, the upload was fine as usual.

Thank you for the suggestion. My internet connection is actually quite good (in a city).

1 Like

I think this happened to me before. I uninstalled the app and reinstalled it and it works.

Thank you for the suggestion. If I uninstall and reinstall the app, will I lose all my pending (not yet uploaded) observations?

I’m not sure.

I believe so

1 Like

Yes, they’ll be gone.

  • which device do you have? We log crashes by device type.
  • if you try again and it crashes again, please open the app back up and send us log files from the app, that may capture the issue. To send log files, go to the About tab in the iNaturalist app and tap three times on the version number. You will then have the option to email the log files to us.
1 Like

Thank you, Tony. My phone is a Moto g power, vintage August 2020. I just emailed the recent log files to Help. Thanks!

1 Like

So our Android developer took a look. There’s one crash in the logs and it’s due to an out-of-memory issue during upload. There are a few other crashes for this device, those are also for out-of-memory issues. So it’s likely the device just may not have enough RAM.

maybe you can disable autoupload in settings and try pushing manually one at a time for each observation?

@tsn , in light of @tiwane’s comment about RAM, if you haven’t already increased your phone’s virtual RAM, doing so might resolve the problem (search “RAM Boost” in your Motorola phone’s settings).

1 Like

Thanks to the Android developer and thanks to all of you for your suggestions. I don’t use Auto upload, so that shouldn’t be an issue. I searched in phone settings for RAM boost and the search turned up nothing. Maybe my 2020 Moto g power phone is too old to have RAM boost capability? But the thing is that what I am trying to do (upload some new observations) is no different from what I have done many, many times before with this same phone. I can’t think of anything that has changed recently.

What is the recommended amount of RAM for using version 1.36.8 (628)? Has the required RAM gone up significantly in the last year or so, as the Android app has grown?