Skip to content

Conversation

@christiangnrd
Copy link
Contributor

There may be a better way to approach this, but on low memory runners (8GB mac runners), 3800MiB is too high of a limit and it causes issues with code loading times (note how the "init time" increases for no apparent reason in this run.)

3000MiB seems like it prevents these issues without creating new workers constantly.

@vchuravy
Copy link
Member

We should also make this configurable.

Julia core has an environment variable: const max_worker_rss = if haskey(ENV, "JULIA_TEST_MAXRSS_MB")

@christiangnrd

This comment was marked as outdated.

_max_worker_rss[]
end
end

Copy link
Collaborator

Choose a reason for hiding this comment

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

This feels a bit overcomplicated to be honest. How about just making it a function, which is passed as default value to a new keyword argument to runtests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good idea!

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.

3 participants