Gen error java.lang.OutOfMemoryError: Java heap space error while building the jar