I think we passed a threshold with our project and the build process needs close to 4GB of memory, which is over the Java heap limit for people with 8GB of RAM. It’s easily solvable with -Xmx4096m
, but I’d rather not have our artists and designers have to do that each update (as config
is overwritten each update).
Is there any way you could optimise memory usage while building so that it doesn’t scale linearly with the project size? Maybe use streaming in some fashion?
If not, at least make a workaround to automatically increase the max Java heap size on low-memory devices, so that it doesn’t have to be done manually?