This is an automated email from the ASF dual-hosted git repository.

mergebot-role pushed a commit to branch mergebot
in repository https://gitbox.apache.org/repos/asf/beam-site.git

commit c0aa0b8c9b28cd0114894bd88c2f18623d643ece
Author: Maximilian Michels <[email protected]>
AuthorDate: Mon Sep 10 13:15:25 2018 +0200

    Add information on OutOfMemory errors during build
---
 src/contribute/index.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/contribute/index.md b/src/contribute/index.md
index 043c475..b607b1c 100644
--- a/src/contribute/index.md
+++ b/src/contribute/index.md
@@ -132,6 +132,16 @@ For an exhaustive list of tasks, use:
 
 We run **integration and performance test** using 
[Jenkins](https://jenkins.io/). The job definitions are available in the [Beam 
GitHub 
repository](https://github.com/apache/beam/tree/master/.test-infra/jenkins).
 
+#### Troubleshooting
+
+You might get an OutOfMemoryException during the Gradle build. If you have 
more memory
+available, you can try to increase the memory allocation of the Gradle JVM. 
Otherwise,
+disabling parallel test execution reduces memory consumption. In the root of 
the Beam
+source, edit the `gradle.properties` file and add/modify the following lines:
+
+    org.gradle.parallel=false
+    org.gradle.jvmargs=-Xmx2g -XX:MaxPermSize=512m
+
 ### Pull requests
 
 When your change is ready to be reviewed and merged, create a pull request.

Reply via email to