Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@sideeffffect
Copy link
Member

No description provided.

@sideeffffect sideeffffect changed the title CI: increase heap to 5G CI: increase heap to 6G Jul 6, 2022
@sideeffffect sideeffffect changed the title CI: increase heap to 6G Increase swap size as a safety net in case of sudden surge of memory allocations Jul 6, 2022
@sideeffffect sideeffffect changed the title Increase swap size as a safety net in case of sudden surge of memory allocations Increase swap size as a safety net in case of sudden surge of memory demand Jul 6, 2022
@sideeffffect
Copy link
Member Author

This should fix our problem with CI @adamgfraser @mijicd

compile:
runs-on: ubuntu-20.04
timeout-minutes: 60
timeout-minutes: 120
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this necessary?

Copy link
Member Author

@sideeffffect sideeffffect Jul 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should take < 60 mins from what I've seen, but now we're close to the deadline, and I wouldn't want to fail a whole build just because this step took 5 mins longer on a busy day...

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay how much of this is being driven by Scala Native? Four days ago we were taking a little over 30 minutes.

Copy link
Contributor

@adamgfraser adamgfraser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to merge this so we can merge other PRs but we need to address the build time since it appears to have increased dramatically.

@adamgfraser adamgfraser merged commit 51d7736 into zio:series/2.x Jul 7, 2022
@sideeffffect sideeffffect deleted the patch-4 branch July 7, 2022 10:59
jdegoes pushed a commit to jdegoes/zio that referenced this pull request Jul 15, 2022
…demand (zio#7043)

* CI: increase heap to 5G

* -Xmx6G

* free -h -s 1

* sudo dmesg | egrep -i 'killed'

* set Global / concurrentRestrictions += Tags.limit(Tags.Compile, 4)

* set Global / concurrentRestrictions += Tags.limit(Tags.Compile, 3)

* pierotofy/[email protected]

* pierotofy/set-swap-space@master

* ./sbt

* Longer timeout

* -Xmx4G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants