Uploaded image for project: 'Nuxeo Mobile'
  1. Nuxeo Mobile
  2. NXMOB-410

Increase maximum heap size for the Gradle daemon

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Android 1.9
    • Component/s: Android

      Description

      As mentioned when running npm run android:

      Running dex as a separate process.
      
      To run dex in process, the Gradle daemon needs a larger heap.
      It currently has 1024 MB.
      For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB.
      To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
      For more information see https://docs.gradle.org/current/userguide/build_environment.html
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h