Skip to content

fix(gallery-fragment): oome#16986

Open
alperozturk96 wants to merge 3 commits intomasterfrom
fix/gallery-fragment-oome
Open

fix(gallery-fragment): oome#16986
alperozturk96 wants to merge 3 commits intomasterfrom
fix/gallery-fragment-oome

Conversation

@alperozturk96
Copy link
Copy Markdown
Collaborator

@alperozturk96 alperozturk96 commented May 4, 2026

Changes

  • Moves heavy operations from main thread
  • Uses faster filtering logic
  • Better memory allocation e.g. (creating calendar, date instance)
  • Simpler adapter

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 changed the title Fix/gallery fragment oome fix(gallery-fragment): oome May 4, 2026
@alperozturk96 alperozturk96 added the performance 🚀 Performance improvement opportunities (non-crash related) label May 4, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

Codacy

SpotBugs

CategoryBaseNew
Bad practice3535
Correctness6767
Dodgy code216216
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4242
Security1616
Total420420

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

APK file: https://github.com/nextcloud/android/actions/runs/25307476580/artifacts/6778986497
To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.
qrcode (please click on link to get QR code displayed)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 4, 2026

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance 🚀 Performance improvement opportunities (non-crash related)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: OutOfMemoryError in GalleryFragment when closing 2048px WebP previews (Android 16) Media Tab crashes when open

1 participant