Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase javac heap to 2g by default (up from 512m) #2482

Merged
merged 2 commits into from
Feb 1, 2023

Conversation

carterkozak
Copy link
Contributor

==COMMIT_MSG==
Increase javac heap to 2g by default (up from 512m). Existing overrides are not impacted.
==COMMIT_MSG==

@changelog-app
Copy link

changelog-app bot commented Feb 1, 2023

Generate changelog in changelog/@unreleased

Type

  • Feature
  • Improvement
  • Fix
  • Break
  • Deprecation
  • Manual task
  • Migration

Description

Increase javac heap to 2g by default (up from 512m). Existing overrides are not impacted.

Check the box to generate changelog(s)

  • Generate changelog entry


@Override
public void apply(Project proj) {
proj.afterEvaluate(
Copy link
Contributor

Choose a reason for hiding this comment

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

To clarify, afterEvaluate is used because we want to check if something else already set options.getMemoryMaximumSize?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, you even added a test for this! :)

@bulldozer-bot bulldozer-bot bot merged commit 55a9649 into develop Feb 1, 2023
@bulldozer-bot bulldozer-bot bot deleted the ckozak/compiler_heap branch February 1, 2023 16:38
@svc-autorelease
Copy link
Collaborator

Released 4.188.0

This was referenced Feb 1, 2023
bulldozer-bot bot pushed a commit to palantir/witchcraft-api that referenced this pull request Feb 1, 2023
###### _excavator_ is a bot for automating changes across repositories.

Changes produced by the roomba/latest-baseline-oss check.

# Release Notes
## 4.188.0
| Type | Description | Link |
| ---- | ----------- | ---- |
| Improvement | Increase javac heap to 2g by default (up from 512m). Existing overrides are not impacted. | palantir/gradle-baseline#2482 |



To enable or disable this check, please contact the maintainers of Excavator.
This was referenced Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants