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

[Bug Report] 200 songs playlist cannot be downloaded #18

Closed
BobbyESP opened this issue Feb 20, 2023 · 4 comments
Closed

[Bug Report] 200 songs playlist cannot be downloaded #18

BobbyESP opened this issue Feb 20, 2023 · 4 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@BobbyESP
Copy link
Owner

Error

Android is limitating the use of more than 35MB of memory, having an exception of type: [java.lang.OutOfMemoryError].

Device info & report

App version: 1.0.0 (10000)
Device information: Android 13 (API 33)
Supported ABIs: [arm64-v8a, armeabi-v7a, armeabi]
spotDL version: Hand-imported v4.1.0 (Preview)

URL: https://open.spotify.com/playlist/6S8GDgx3pauv7AHk06Vx8x?si=-Yc_UCM9QQa38Kf6SRNrtg&utm_source=copy-link
Failed to allocate a 92164736 byte allocation with 25165824 free bytes and 34MB until OOM, target footprint 257110352, growth limit 268435456

@BobbyESP
Copy link
Owner Author

Problem found. A lot of RAM is used for loading such ammount of data.

image

image

Have to make a better data loading. Incremental loading is probably the solution.

ChatGPT helped :)

image

@BobbyESP
Copy link
Owner Author

The most suitable option is to add an option to download without retrieving first the info. Incremental loading with JSON files is quite hard and seems that is not possible (by what I know now)

@BobbyESP
Copy link
Owner Author

Bruh, is not that easy. Have to found a better way.

@BobbyESP BobbyESP added bug Something isn't working help wanted Extra attention is needed labels Mar 8, 2023
@BobbyESP
Copy link
Owner Author

BobbyESP commented Apr 5, 2023

Fixed!

@BobbyESP BobbyESP closed this as completed Apr 5, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant