Aefyr / SAI

Android split APKs installer
GNU General Public License v3.0
2.54k stars 253 forks source link

failed to allocate #271

Closed RainerZufall187 closed 1 year ago

RainerZufall187 commented 1 year ago

it says that it is installing the apks file for ~1 min and then

java.io.IOException: Failed to allocate 1837701151 because only 1057042432 allocatable
    at java.lang.reflect.Constructor.newInstance0(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
    at android.os.ParcelableException.readFromParcel(ParcelableException.java:56)
    at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:82)
    at android.os.ParcelableException$1.createFromParcel(ParcelableException.java:79)
    at android.os.Parcel.readParcelable(Parcel.java:3334)
    at android.os.Parcel.createExceptionOrNull(Parcel.java:2421)
    at android.os.Parcel.createException(Parcel.java:2410)
    at android.os.Parcel.readException(Parcel.java:2393)
    at android.os.Parcel.readException(Parcel.java:2335)
    at android.content.pm.IPackageInstallerSession$Stub$Proxy.openWrite(IPackageInstallerSession.java:595)
    at android.content.pm.PackageInstaller$Session.openWrite(PackageInstaller.java:1029)
    at com.aefyr.sai.installer2.impl.rootless.RootlessSaiPackageInstaller.install(RootlessSaiPackageInstaller.java:94)
    at com.aefyr.sai.installer2.impl.rootless.RootlessSaiPackageInstaller.lambda$enqueueSession$0$RootlessSaiPackageInstaller(RootlessSaiPackageInstaller.java:70)
    at com.aefyr.sai.installer2.impl.rootless.-$$Lambda$RootlessSaiPackageInstaller$ivyAcunEgIkYlu_dB2vN6MOWZPU.run(Unknown Source:6)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:463)
    at java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
    at java.lang.Thread.run(Thread.java:1012)
Caused by: android.os.RemoteException: Remote stack trace:
    at android.util.ExceptionUtils.wrap(ExceptionUtils.java:34)
    at com.android.server.pm.PackageInstallerSession.openWrite(PackageInstallerSession.java:1484)
    at android.content.pm.IPackageInstallerSession$Stub.onTransact(IPackageInstallerSession.java:277)
    at android.os.Binder.execTransactInternal(Binder.java:1185)
    at android.os.Binder.execTransact(Binder.java:1149)

yes apks file is 1,86 gb

Screenshot_2023-02-15-18-51-22-024_com.cpuid.cpu_z.jpg

Screenshot_2023-02-15-18-52-23-735_com.android.settings.jpg

RainerZufall187 commented 1 year ago

what now???? 😭😭😭😭😭

stanleylhs commented 1 year ago

This app is dead, use the APKmirror app from Play store.

Also if you have root, remove the temp split from SAI in /data/app/

github-actions[bot] commented 1 year ago

This issue hasn't had any activity for the last 60 days and will be automatically closed in 7 days from now