AltStore icon indicating copy to clipboard operation
AltStore copied to clipboard

"Bad Allocation" When I try to sideload an app

Open Yolkersuu opened this issue 4 years ago • 14 comments

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 :

  • Windows 10
  • 16GB RAM

iPhone :

  • iPhone6s
  • iOS: 13.5.1

Yolkersuu avatar Jul 13 '20 19:07 Yolkersuu

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

Yolkersuu avatar Jul 13 '20 19:07 Yolkersuu

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.

willshattuck avatar Sep 22 '21 17:09 willshattuck

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

Sea-Gall avatar Nov 04 '21 16:11 Sea-Gall

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.

willshattuck avatar Nov 04 '21 17:11 willshattuck

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/

xantari avatar Jan 15 '22 03:01 xantari

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 😃

Rikysonic avatar Jun 22 '22 15:06 Rikysonic

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!

Vision27 avatar Jun 23 '22 09:06 Vision27

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

Rikysonic avatar Jun 23 '22 12:06 Rikysonic

What do we do on a Mac?

HughHoyland avatar Oct 29 '22 20:10 HughHoyland

Should i reinstall Altstore after the patch?

vyth3y avatar Nov 05 '22 20:11 vyth3y

Should i reinstall Altstore after the patch?

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

Rikysonic avatar Nov 07 '22 09:11 Rikysonic

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

thanhphong97 avatar May 09 '23 14:05 thanhphong97

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!

eeshankeni avatar Oct 21 '23 08:10 eeshankeni

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

SnekyCoding avatar Dec 10 '23 22:12 SnekyCoding