Exception in thread “main” java.lang.OutOfMemoryError: Java heap space

0
72
Exception in thread main javalangOutOfMemoryError Java heap space in Unreal Engine

Exception in thread “main” java.lang.OutOfMemoryError: Java heap space in Unreal Engine

How to fix Exception in thread “main” java.lang.OutOfMemoryError: Java heap space in Unreal Engine

  1. go to edit then choose Project Settings .
  2. scroll down to Platforms then choose Android .
  3. uncheck option Generate bundle (AAB) .