Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

This is the same error as yesterday, Javaheap ran out of RAM to process the build. May I know how much RAM your PC has so I can tell you the best Java heap settings?

It's okay. The problem has been resolved. My laptop has 16 GB of RAM. I tried changing the JVM memory to “4g,” but it didn’t work. Then I tried changing it to “8g,” and that worked. Any PC or laptop with 16 GB of RAM should be able to do this—there should be at least 3 or 4 GB of RAM left after changing the JVM memory to 8. And try not to open anything other than AG so you have more RAM available. Oh, and I wanted to ask—is the file size limit really only 2 GB? Will it be increased in future updates?


Sorry for the late reply—I’ve been busy with real life stuff 😅

Yes, that's a good solution for people who have the same problem, thank you, actually the size limit of the ag apk builder is small, only 150 mb, the big ones are the raw materials for android studio, such as gradle, java, cache, in the future I will add virtual android and many new plugins, maybe the size will increase, but this is an option if you don't want to use it, it's okay. No problem i'm always here if you need again.