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

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

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.11.0
    • build-system
    • 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

              michel Michael Luckey
              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