java.lang.OutOfMemoryError

I keep getting the error message of “java.lang.OutOfMemoryError” when build project.
using windows 7 64bit with 8GB RAM.

Please advise any configuration need to set for the game.project?

Thanks

Here’s a solution for Editor 1: Android build fails with Java heap space error

Also check this thread for a similar Editor 2 issue: java.lang.OutOfMemoryError: Java heap space in Editor 2