Skip to content

fix(gallery-fragment): oome#16986

Merged
alperozturk96 merged 3 commits into
masterfrom
fix/gallery-fragment-oome
May 21, 2026
Merged

fix(gallery-fragment): oome#16986
alperozturk96 merged 3 commits into
masterfrom
fix/gallery-fragment-oome

Conversation

@alperozturk96

@alperozturk96 alperozturk96 commented May 4, 2026

Copy link
Copy Markdown
Collaborator

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

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

Codacy

SpotBugs

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

@github-actions

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

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

github-actions Bot commented May 4, 2026

Copy link
Copy Markdown

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

@alperozturk96 alperozturk96 added this to the Nextcloud App 34.0.0 milestone May 21, 2026
@alperozturk96 alperozturk96 merged commit e02b01f into master May 21, 2026
20 of 22 checks passed
@alperozturk96 alperozturk96 deleted the fix/gallery-fragment-oome branch May 21, 2026 12:26
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

2 participants