Skip to content

Increase memory in gradle.properties to avoid OOM in android apk compilation  #6

@emanuelb

Description

@emanuelb

Compiling this app with Containerfile at: https://gitlab.com/walletscrutiny/walletScrutinyCom/-/issues/208

will fail with OOM error unless running the following command sed -i '/org.gradle.jvmargs/s/^#//g' gradle.properties; which used to uncomment this line:

# org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8

so it's better to increase the defaults to be enough for app compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions