aves icon indicating copy to clipboard operation
aves copied to clipboard

Decoding issue when low on memory

Open AumoraRes opened this issue 3 months ago • 8 comments

Dear Hardworking Developers: I encountered a bug while using aves app.I saved a lot of pictures about 110,000. when I view the pictures,I click the thumbnail and enter the full-screen image viewing interface, sometimes I can't load the original image, aves only show me the enlargement of the thumbnail.It's not an isolated case, but happens frequently. Hoping developers can take the time to fix this bug, I really like aves, thanks!

Package: deckers.thibault.aves Installer: com.android.shell Aves version: 1.13.9-play, build 160 Flutter: stable 3.27.4 Android version: 15, API 35 Android build: TB322FC_CN_OPEN_USER_Q00041.1_V_ZUXOS_1.1.11.202_ST_250919 Device: LENOVO TB322FC Display: pixel ratio=2.75, logical=692.3636363636364x1105.4545454545455, physical=1904.0x3040.0 Support: dynamic colors=true, geocoder=true, HDR=true, wide gamut=true Mobile services: ready Connectivity: wifi, vpn System locales: zh_Hans_CN Storage volumes: /storage/emulated/0/, /storage/3962-6664/ Storage grants: /storage/emulated/0/Pictures/ Error reporting: true

aves-logs-20251112_232218.txt

AumoraRes avatar Nov 12 '25 15:11 AumoraRes

Could it be the same issue as #1835?

If you think it's different:

  1. Please provide a sample image with which you have the issue. Attach it here (or a link to it) without any chance, recompression, etc.
  2. Could you take a screenshot of the Info page (swipe up from the viewer) for that image on your device?

deckerst avatar Nov 12 '25 16:11 deckerst

yes,it's the same problem with 1835,the failledoaded of my images is random,sometimes a,sometimes b...and I can refresh the page by going back to the desktop and then to the aves.There is a chance that the failedloaded images will be reloaed.Therefore,I really can't provide specific images.

dalao,could you please give me a way to solve this problem?I just understand a little of reason by reading the issue 1835.

AumoraRes avatar Nov 12 '25 17:11 AumoraRes

For #1835, the issue is that when they take a picture with the camera, Aves detects first a low quality version of the image, but not the high quality full version. And then, they cannot see the full version, unless they move the file around.

So from what you say, it seems your issue is different. As I understand, the same image sometimes gets loaded as low quality, sometimes as high quality, right?

deckerst avatar Nov 12 '25 17:11 deckerst

From the logs, it looks like a memory issue. How many items (more or less) do you have in your collection?

deckerst avatar Nov 12 '25 17:11 deckerst

110000pictures.That's definitely a bit too much.

Image

AumoraRes avatar Nov 12 '25 17:11 AumoraRes

Here's the thing: sometimes the same image suddenly fails to load, but switching to another screen and returning will usually fix it. Conversely, images that loaded successfully previously might suddenly fail to load again on a later visit. I use my tablet as a portable image viewing tool, and it stores a large number of high-quality images, almost all over 10MP, which might be putting a strain on Aves. I really like the software's flexible categorization and grouping features. However, my experience with bug reporting isn't great, and this might cause you some confusion. I hope you can understand,thanks!

AumoraRes avatar Nov 12 '25 18:11 AumoraRes

Thanks for the explanation. I confirm it's a memory issue. Having images over 10MP is fine, but having a large collection (100k items) is putting a strain on Aves. When there is not enough memory available to the app, loading images will fail. That's why sometimes it works and sometimes it doesn't. It depends on how much memory is available.

Aves should be optimized to work better with large collections. But for now, the only thing you can do is trim down your collection.

deckerst avatar Nov 12 '25 18:11 deckerst

Thank you for your suggestions and attention. I hope Aves can do even better with your optimization and efforts. I will always support Aves.

AumoraRes avatar Nov 12 '25 18:11 AumoraRes