Code Monkey home page Code Monkey logo

Comments (9)

cvzi avatar cvzi commented on July 21, 2024

I'll look into it, maybe there is a memory leak somewhere

from darkmodewallpaper.

cvzi avatar cvzi commented on July 21, 2024

I have found two memory leaks. I have resolved one of them. The other one is not relevant as far as I can tell because it seems to only occur when the wallpaper was set to the app and then changed to another live wallpaper.
It will take a few days until the next version is built and published.

Also as far as I understand, Android will only free memory if the overall free memory is low, so the amount of memory the app uses may be overstated if there is still free memory on the device left.

from darkmodewallpaper.

ihatemakinganaccount avatar ihatemakinganaccount commented on July 21, 2024

Possibly, but the Running Services screen should be mostly accurate. Other resident apps I use are shown to take much less memory - right after reboot it's NTFY notification manager 7MB, KDE Connect 15MB, K-9 mail 40MB, Hypatia antivirus 50MB, Rethink DNS 50MB, HeliBoard keyboard 60MB, DMLW 96MB, so it's still a bit high from the start.

But okay, if it can stay at least at this level without ballooning... :)

Thanks!

from darkmodewallpaper.

ihatemakinganaccount avatar ihatemakinganaccount commented on July 21, 2024

@cvzi it's still doing it, after I switch mode a few times, memory usage gets to pretty high levels :/

from darkmodewallpaper.

cvzi avatar cvzi commented on July 21, 2024

I can't really reproduce this. On my phones and on the emulator, the memory goes up, but then it also goes down again.

from darkmodewallpaper.

ihatemakinganaccount avatar ihatemakinganaccount commented on July 21, 2024

@cvzi ok I won't bug you about it, but I'm curious what memory usage do you see for this app under Running Services under dev options? Approximately

from darkmodewallpaper.

cvzi avatar cvzi commented on July 21, 2024

About 75MB and when I switch dark/light mode it goes up to 100MB, after a few minutes it goes down to 75MB again.
If I keep switching dark/light mode it stays up at 100MB.

from darkmodewallpaper.

cvzi avatar cvzi commented on July 21, 2024

About 50MB is just the libraries and the wallpaper service that I don't have any influence on. So I don't really want to use so much time investigating it

from darkmodewallpaper.

ihatemakinganaccount avatar ihatemakinganaccount commented on July 21, 2024

Okay thx

from darkmodewallpaper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.