[
https://issues.apache.org/jira/browse/BEAM-6635?focusedWorklogId=197165&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-197165
]
ASF GitHub Bot logged work on BEAM-6635:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Feb/19 21:16
Start Date: 11/Feb/19 21:16
Worklog Time Spent: 10m
Work Description: swegner commented on issue #7795: [BEAM-6635] increase
maxHeapSize for test tasks
URL: https://github.com/apache/beam/pull/7795#issuecomment-462497474
> AFAIU, we reduce defaults here for gradle4. So if changes work there, they
should also work on gradle5.
Yes, it sounds like it should "just work" with Gradle 5, assuming there are
no other unexpected interactions. It would be safer to test just-in-case.
> * I ll add that `maxHeapSize = 2g` to those tests requiring that
See comment above. On further thought I worry about accidentally
destabilizing tests by reducing their memory. So I'd recommend just giving all
test tasks the 2g for now. If you feel like adding this individually to each
project, that would make it easier to eventually revert to the default. But, I
don't mind if you defer that to another PR.
> * do that with that [BEAM-6630] PR
Yes, I think it would be best to validate together.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 197165)
Time Spent: 2h 10m (was: 2h)
> Fix java.lang.OutOfMemoryError: Java heap space on gradle 5
> -----------------------------------------------------------
>
> Key: BEAM-6635
> URL: https://issues.apache.org/jira/browse/BEAM-6635
> Project: Beam
> Issue Type: Bug
> Components: build-system
> Reporter: Michael Luckey
> Assignee: Michael Luckey
> Priority: Major
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> With gradle 5
> {noformat}
> 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.
> {noformat}
> This change cause some of our test to fail.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)