SimpleMobileTools / Simple-Music-Player

A clean music player with a customizable widget, stylish interface and no ads.
https://www.simplemobiletools.com
GNU General Public License v3.0
1.26k stars 410 forks source link

app crashes a few seconds after opening with music on sd card #619

Closed foss- closed 8 months ago

foss- commented 8 months ago

The app crashes in 100 % of attempts to use it. Open app at 16:19:00 and throws OutOfMemoryError at 10-23 16:19:11.798.

10-23 16:19:11.798 13589 13625 W ols.musicplayer: Throwing OutOfMemoryError "Failed to allocate a 56 byte allocation with 2238160 free bytes and 2185KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC." (VmSize 6916300 kB)
10-23 16:19:11.799 13589 13625 E AndroidRuntime: java.lang.OutOfMemoryError: Failed to allocate a 56 byte allocation with 2238160 free bytes and 2185KB until OOM, target footprint 268435456, growth limit 268435456; giving up on allocation because <1% of heap free after GC.
10-23 16:19:11.883  1699  1779 D CoreBackPreview: Window{8a7c9b5 u0 Application Error: com.simplemobiletools.musicplayer}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.WindowOnBackInvokedDispatcher$OnBackInvokedCallbackWrapper@9d30284, mPriority=0}

logcat (1 year): https://bin.disroot.org/?99abec3b51ae50ba#GYkRazbLetGr96PzfoDHGQDCeRBz1JC6eF9JLBZJGesv

tibbi commented 8 months ago

just restart your device

foss- commented 8 months ago

Did try that but the app keeps crashing.