You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by al...@apache.org on 2017/02/14 22:52:40 UTC
[1/2] beam git commit: Add some slack to the memory threshold for
DirectRunner oom checker.
Repository: beam
Updated Branches:
refs/heads/master 2596d46a1 -> 0d3389a20
Add some slack to the memory threshold for DirectRunner oom checker.
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/8da2773d
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/8da2773d
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/8da2773d
Branch: refs/heads/master
Commit: 8da2773d04aa3018e7c0593c9a20a671eeaa5ad0
Parents: 2596d46
Author: Ahmet Altay <al...@google.com>
Authored: Tue Feb 14 10:21:46 2017 -0800
Committer: Ahmet Altay <al...@google.com>
Committed: Tue Feb 14 14:52:23 2017 -0800
----------------------------------------------------------------------
sdks/python/apache_beam/pipeline_test.py | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/8da2773d/sdks/python/apache_beam/pipeline_test.py
----------------------------------------------------------------------
diff --git a/sdks/python/apache_beam/pipeline_test.py b/sdks/python/apache_beam/pipeline_test.py
index e02ebc3..6c2512f 100644
--- a/sdks/python/apache_beam/pipeline_test.py
+++ b/sdks/python/apache_beam/pipeline_test.py
@@ -235,6 +235,9 @@ class PipelineTest(unittest.TestCase):
memory_threshold = (
get_memory_usage_in_bytes() + (3 * len_elements * num_elements))
+ # Plus small additional slack for memory fluctuations during the test.
+ memory_threshold += 10 * (2 ** 20)
+
biglist = pipeline | 'oom:create' >> Create(
['x' * len_elements] * num_elements)
for i in range(num_maps):
[2/2] beam git commit: This closes #2003
Posted by al...@apache.org.
This closes #2003
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/0d3389a2
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/0d3389a2
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/0d3389a2
Branch: refs/heads/master
Commit: 0d3389a20ee44925dae64e9b7a60992bed5a6dd9
Parents: 2596d46 8da2773
Author: Ahmet Altay <al...@google.com>
Authored: Tue Feb 14 14:52:27 2017 -0800
Committer: Ahmet Altay <al...@google.com>
Committed: Tue Feb 14 14:52:27 2017 -0800
----------------------------------------------------------------------
sdks/python/apache_beam/pipeline_test.py | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------