I cannot seem to get a debug build while I am building via Build Configurations (com.unity.platforms) due to out of memory error.
Execution failed for task ‘:launcher: PackageDebug’.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
java.lang.OutOfMemoryError (no error message)
I’ve set the JVM memory to 6GBs but I am not sure If increasing it may fix my problem or I need to do something else. Builds take around 10+ mins and getting an Oom error is plain frustrating, using the conventional build window gave a better result due to me not using any subscenes but gave some wierd graphical glitches so I’ve converted back to Build configurations but this is killing me.