Bad Allocation Error - Altstore (IOS - .ipa)

Any ios users that may encounter this error could find a solution here
https://www.reddit.com/r/AltStore/comments/vi83tl/fix_for_bad_allocation_300mb_ipa_file/

I can recommend an alternative to altstore. Sideloadly works the same and it is easier to use and it does not require to use a app to sign apps everything done in pc. Useable even with windows 7