Theme toggling causes significant memory usage increase

Open
#585 23 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@kdroidFilter is already working on this.

Since Aug 20, 2026.

Assessment

This issue has not been assessed yet.

Description

enhancement nucleus-2.6

🐛 Describe the bug

I was building my app with Nucleus and Jewel UI when I noticed that toggling the theme causes memory usage to increase significantly. I then opened the Nucleus demo app and tried the same thing, and the issue occurs there as well. Since the Nucleus demo app doesn’t use Jewel UI, I don’t think it’s related to Jewel.

https://github.com/user-attachments/assets/615ab0db-d072-4407-ad1c-68c660106ac2

📱 Tech info

  • Device: iMac 2017
  • OS: 13.7.8
  • Library/App version: Nucleus Demo 2.4.7
Dominant language
Kotlin
Stars
393
Forks
27
Avg merge
17h 24m
Merged PRs (30d)
69

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NucleusFramework/Nucleus

All issues in NucleusFramework/Nucleus

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.