Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Library Cache #87

Open
brettjenkins opened this issue Jul 1, 2015 · 0 comments
Open

Library Cache #87

brettjenkins opened this issue Jul 1, 2015 · 0 comments

Comments

@brettjenkins
Copy link

Hi,

I'm a bit confused how the library cache works. Let me explain:

  1. I boot up LMS, Google Play Music shows all my playlists and the tracks in them, pretty much instantly
  2. This continues for X amount of time (hours? maybe?)
  3. I try hours later, access a playlist and it takes a while to load the playlist tracks, on my phone on SqueezeCtrl it actually times out waiting for a response from the server, and LMS can be unresponsive for a few minutes

If I manually refresh the library, I get round this issue, so trying to be clever I created a scheduled task that ran the URL that would refresh the library (within Google Music plugin) every 10 minutes, unfortunately there seems to be a memory leak over time, as memory creeps on the LMS process from a starting point of 15% (on a Pi with 1gb of ram) to ~80%, causing everything to break as memory can't be allocated.

So how long is the cache held in memory? Why does it randomly lose it? Why does reloading the library seem to eat memory?

Thanks, otherwise great plugin as always!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant