You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is substantial documentation on the different environment variables available for Java memory usage. However, there is no suggested variable to use as a 'best choice' for projects.
I think this would be really useful because I cannot actually find suggested settings anywhere and it's still totally hit and miss for me what might actually work!
The text was updated successfully, but these errors were encountered:
It's true that there are a lot of different environment variables regarding memory usage in Java, and it's not immediately clear what will work for a user. Unfortunately, however, how a user will need to fine tune the JVM and memory usage is going to vary quite a bit from project to project (and from build target to target aswell) so it's unlikely that we'll have a "one size fits all" example that we can provide.
However! It might be of some use to open a topic in the CircleCI discuss forum, where other users could weigh in on commonly used settings. None the less, I'm glad you posted this issue so that it will be accessible to user's who might be looking for a place to start with customizing their memory options. I'll be closing the issue but it will still be discoverable.
Missing Information
There is substantial documentation on the different environment variables available for Java memory usage. However, there is no suggested variable to use as a 'best choice' for projects.
Already Looked
Suggestion
I would suggest that we add more into the docs, such as:
Android Projects
In most cases, gradle build out-of-memory errors will be resolved with:
I think this would be really useful because I cannot actually find suggested settings anywhere and it's still totally hit and miss for me what might actually work!
The text was updated successfully, but these errors were encountered: