altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.38k stars 862 forks source link

"Bad Allocation" When I try to sideload an app #291

Open Yolkersuu opened 4 years ago

Yolkersuu commented 4 years ago

Bad Allocation I dont think it's a bug I just dont get why I have it. I have 83 GB free, and way enough RAM... Everytime I try to sideload a .ipa file that is over 500 MB, a pop up appears saying "bad allocation" 0_o

To Reproduce Try to sideload an .ipa file (size 520 MB)

Expected behavior I expected the application to download succesfully

Desktop :

iPhone :

Yolkersuu commented 4 years ago

I did sideload a .api file before (300MB) And I still have enough IDs for this app :/

willshattuck commented 2 years ago

Same here. Loading RetroArch in AltStore 1.4.6. IPA size is 375 MB and I get "bad allocation". I saw elsewhere that if I delete a large MAME file from RetroArch it will load. So I did that and the IPA is now 283 MB and it loads just fine.. I don't think I would use that MAME module, but it's interesting that if I just make the file size smaller it works.

Sea-Gall commented 2 years ago

How did you delete the MAME file from the IPA? I'm trying to get retroarch to work and it just plain refuses.

willshattuck commented 2 years ago

Hi @Sea-Gall . I downloaded the IPA to my computer. Then right clicked on it and used 7-zip to open it. Then I sorted by file size. Then I deleted the largest mame folder.

xantari commented 2 years ago

Same here... doesn't work with retroarch. Looks like this is a known issue with files overs 300MB, which of course retroarch is about 380mb. https://www.reddit.com/r/AltStore/comments/oh51ry/error_bad_allocation/

Rikysonic commented 2 years ago

I've just found a """fix""", using the 4GB patch that you can find here Simply download the patcher, close AltServer, launch the patcher, select the AltServer.exe in C:\Program FIles (x86)\AltServer, then reopen AltServer and try to install a big IPA file.

I managed to install a 555MB game (that becomes 1.29 GB when extracted) just fine after the patch! Tested also with latest Retroarch and it works! Remember to reapply the patch after every AltServer update 😃

Vision27 commented 2 years ago

I've just found a """fix""", using the 4GB patch that you can find here Simply download the patcher, close AltServer, launch the patcher, select the AltServer.exe in C:\Program FIles (x86)\AltServer, then reopen AltServer and try to install a big IPA file.

I managed to install a 555MB game (that becomes 1.29 GB when extracted) just fine after the patch! Tested also with latest Retroarch and it works! Remember to reapply the patch after every AltServer update 😃

Patch works! Altstore successfully signed 1gb ipa. Thanks for the tip, you are the best!

Rikysonic commented 2 years ago

Patch works! Altstore successfully signed 1gb ipa. Thanks for the tip, you are the best!

Great!! The real fix would be developing and building AltServer at 64 bits instead of 32

HughHoyland commented 1 year ago

What do we do on a Mac?

vyth3y commented 1 year ago

Should i reinstall Altstore after the patch?

Rikysonic commented 1 year ago

Should i reinstall Altstore after the patch?

Nope, the patch doesn't affect AltStore in any way

thanhphong97 commented 1 year ago

I've just found a """fix""", using the 4GB patch that you can find here Simply download the patcher, close AltServer, launch the patcher, select the AltServer.exe in C:\Program FIles (x86)\AltServer, then reopen AltServer and try to install a big IPA file.

I managed to install a 555MB game (that becomes 1.29 GB when extracted) just fine after the patch! Tested also with latest Retroarch and it works! Remember to reapply the patch after every AltServer update 😃

Smoothly, Thanks for the tip

eeshankeni commented 9 months ago

I've just found a """fix""", using the 4GB patch that you can find here Simply download the patcher, close AltServer, launch the patcher, select the AltServer.exe in C:\Program FIles (x86)\AltServer, then reopen AltServer and try to install a big IPA file. I managed to install a 555MB game (that becomes 1.29 GB when extracted) just fine after the patch! Tested also with latest Retroarch and it works! Remember to reapply the patch after every AltServer update 😃

Patch works! Altstore successfully signed 1gb ipa. Thanks for the tip, you are the best!

21 Oct 2023 and this still works. Thanks!

SnekyCoding commented 7 months ago

The application could not be installed because its integrity could not be verified :((( the altstore crashed and this inscription appeared