Skip to content

Commit

Permalink
Remove fix for oom error
Browse files Browse the repository at this point in the history
  • Loading branch information
Anastasia Kubova committed Jul 16, 2020
1 parent 41c29a0 commit 17e3465
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ fi

# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
# Increase the size of memory is a workaround to avoid error 'OutOfMemoryError: Java heap space' during perform command 'assemble javadoc lint'.
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\" \"-Xmx1024m\" \"-Xms256m\" \"-XX:MaxPermSize=1024m\""
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
Expand Down

0 comments on commit 17e3465

Please sign in to comment.