Giter Club home page Giter Club logo

Comments (7)

nbolar avatar nbolar commented on May 30, 2024 1

Hey @dscos the new update is now live. Hopefully this fixes the memory usage bug. Also hope the Spotify bug gets fixed soon.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

Okay that definitely is concerning. Let me see what the issue is and I'll get back to you.

Edit: Just a quick side note till I find the issue, what happens when you restart the app and then track it using Activity Monitor?

from playstatus.

dscos avatar dscos commented on May 30, 2024

Sorry, just saw this. Closed the app and relaunched it, it started at 7.5 MB and then jumped to around 11 MB. After about 15 minutes it's at 18.1 MB now. A few times, it seemed to jump up by 3-4 MB when I skipped tracks, but that doesn't seem to be happening. I'll continue to check it and update.

from playstatus.

dscos avatar dscos commented on May 30, 2024

After about an hour it's at 50.4 MB

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

I've been trying to figure out what's causing this for the past few days and it looks like the scrolling menu bar feature of the app is the culprit i.e. when song names are large and require the scrollable feature, there is a slow but steady increase in memory. On the other hand if I disable the scrolling ability, the memory consumption stays relatively constant and significantly lower. Unfortunately that bit was not coded by me and is a third party open source file that I've incorporated. So as of now, I'm not sure how far I'll be able to optimize it. But I'll keep working on it.

from playstatus.

dscos avatar dscos commented on May 30, 2024

Personally, I liked the old SpotMenu behavior of not scrolling and just displaying the whole long song title, but I'm probably in the minority on that. Maybe make it a toggleable option with a note that the scrolling functionality eats more memory? Or is there maybe a middle ground where you could make the PlayStatus area wider, thus necessitating scrolling less frequently?

Like I said, I have plenty of memory so it's not a big deal for me personally, and now that I'm aware, I can always restart the app if it gets out of hand.

from playstatus.

nbolar avatar nbolar commented on May 30, 2024

You make some good points. I'll consider adding those preferences so that the user can choose what they want, into the next update. It'll probably take some time to finalize the next version just so that I make sure that the different options don't eat up too much memory.

from playstatus.

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.