My process:
- Clone project from https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/android/test
- Click build button (My PC memory : 11.7/31.9 GB (37%))
- When building the memory only use 2GB, then it throwed error :
:packageDebug' `
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> java.lang.OutOfMemoryError (no error message)
- My PC has hyper-v
I tried to search google and found
- OutOfMemoryError: Java heap space on Tensorflow tests execution
- OutOfMemoryError when loading ~200mb file from assets fodler
But they don't solve my problem.
Did I miss some key steps? Really appreciate!