fix gradle build tools version, fix vm memory.