-
Notifications
You must be signed in to change notification settings - Fork 25
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
Memory issue #118
Comments
That ain't good, I'll take a look as well. |
Not sure what's going on, I can't replicate the issue with the same code, still in the same session... weird! I will look if it happens again... |
OK, this is weird! I'm getting the issue again... |
I've tried to fix the issue by updating tauri but it didn't fix it. The process which eats the memory, is the WebKit's WebContent process launched by tauri. |
I think I found the issue... I've added the following code:
I gave me: I've finally found the sqlite file at So, let's say 30K per song. Its JSON is under 1K. |
Ok, the real issue is here:
It loads the whole 41K songs in memory (in about 5.8s). It should load only a part of those songs (maybe 1K) and move the part/window based on the scrolling. The database' size is an issue (1.82GB is way to big for 41K songs) but it isn't the main issue for the memory usage. |
Hi @basharovV,
There is a memory usage issue with the
CanvasLibraryView
component.With nearly 24K songs, on the album view:
tauri
process takes 2.1GB of memoryWith 350 songs, it goes from 400MB to 100MB...
I will try to see where exactly is the problem...
The text was updated successfully, but these errors were encountered: