GithubHelp home page GithubHelp logo

Comments (21)

nate-xyz avatar nate-xyz commented on July 17, 2024 1

I installed sqlitebrowser and found the Cover_Art table but I don't understand what I should see and report as there is no right panel.

My fault I should've been more specific, you have to:

  1. right click the Cover_Art table and click "Browse Table"
  2. click on the BLOB values in the data column to see the image preview

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024 1

Ok, unless something else is a huge memory hog this is probably the culprit, and I'll need to implement lazy loading every pixbuf

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Is this abnormally large usage of memory only on startup? Is also too high during the import process? Is it normal during regular usage of the application after import? How large is your music library?

from resonance.

Arcitec avatar Arcitec commented on July 17, 2024

How large is your library?

My library is only 20 tracks. It uses 64.2 MB RAM for me..

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

My library has 14104 files with a total size of 54.8Gb. This large consumption happens every time I open the application. After it opens, the consumption drops to about 9Gb of ram. When I opened the app for the first time I didn't notice how much ram it consumed but it had crashed once and on the second try it loaded my library and opened. The lollypop app consumes about 400mb for the same library.

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

This is just speculation without looking into it yet but this could possibly be related to gdk pixbuf memory usage, if you have a large library and your embedded tag art is super high in resolution I could see that using a huge amount of memory. If it is that, I could set a limit on image size when importing so images stored in the database are compressed.

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

It is true that my library is large and the embedded tag art is super high in resolution. Is it possible that it doesn't load on startup but when you choose to view the page of an artist or album?

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Could you use sqlitebrowser or some similar application to look at the database? The db file should be in (your home folder) / .var/app/io.github.nate_xyz.Resonance/data/io.github.nate_xyz.Resonance/.

Once you open the file, take a look at the Cover_Art table. If you're using sqlitebrowser you should be able to see the image size on the right panel.

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Is it possible that it doesn't load on startup but when you choose to view the page of an artist or album?

Are you suggesting that it shouldn't load on startup or asking whether it does or not? Right now the application loads all images into memory at startup, which is definitely not optimal in your case. I could definitely implement lazy loading for images + maybe compressing super high resolution image art.

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

Is it possible that it doesn't load on startup but when you choose to view the page of an artist or album?

Are you suggesting that it shouldn't load on startup or asking whether it does or not? Right now the application loads all images into memory at startup, which is definitely not optimal in your case. I could definitely implement lazy loading for images + maybe compressing super high resolution image art.

Yes, that's what I'm describing.

Could you use sqlitebrowser or some similar application to look at the database? The db file should be in (your home folder) / .var/app/io.github.nate_xyz.Resonance/data/io.github.nate_xyz.Resonance/.

Once you open the file, take a look at the Cover_Art table. If you're using sqlitebrowser you should be able to see the image size on the right panel.

I installed sqlitebrowser and found the Cover_Art table but I don't understand what I should see and report as there is no right panel.

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

Ok I did it. Most images are 1200x1200 pixels

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Ok cool thanks, what was the general file size if u don't mind?

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

Sorry I should have mentioned it. About 300kib per image on average.

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Weird, that's not too crazy, a lot of mine are that size or bigger. How many rows are in the Cover_Art table?

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

How many rows are in the Cover_Art table?

1254 rows
Στιγμιότυπο οθόνης από 2023-04-08 19-32-05

from resonance.

nate-xyz avatar nate-xyz commented on July 17, 2024

Are there any duplicates?

from resonance.

Alexios13 avatar Alexios13 commented on July 17, 2024

No, it's all different.

from resonance.

SoiledBrush avatar SoiledBrush commented on July 17, 2024

I also have same problem
Screenshot from 2023-04-08 23-00-30
nearly 10k song taking 250gb.

from resonance.

random-name01 avatar random-name01 commented on July 17, 2024

For me it even crashes when indexing my music folder (>14.000 songs with embedded artwork). I’m assuming this is the same underlying issue, hence why I didn’t open a new thread.

from resonance.

legacychimera247 avatar legacychimera247 commented on July 17, 2024

having a quick test, i have about 3.7 gb for a 300 gb music folder, same folder has like 260 mb with tauon music box, so improvements are very much welcome :P :)

edit: had to reimport the music folder today, now it loaded all (more or less) of the artists images and it's up to 4.2 gb...

from resonance.

AshtakaOOf avatar AshtakaOOf commented on July 17, 2024

I have 1800 tracks and I'm having the same issue as Alexios13, same behavior and same ram usage.

from resonance.

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.