Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6635

Fix java.lang.OutOfMemoryError: Java heap space on gradle 5

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.11.0
    • Component/s: build-system
    • Labels:
      None

      Description

      With gradle 5

      All workers, including compilers and test executors, now start with 512MB of heap. 
      The previous default was 1/4th of physical memory. Large projects may have to increase
      this setting on the relevant tasks, e.g. JavaCompile or Test.
      

      This change cause some of our test to fail.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michel Michael Luckey
                Reporter:
                michel Michael Luckey
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h