Skip to content

Commit

Permalink
Merge pull request apache#57 from Shopify/do_not_shrink_shuffle_batch…
Browse files Browse the repository at this point in the history
…_size

Do not shrink shuffle batch size
  • Loading branch information
angelini committed Jun 9, 2015
2 parents b68a83b + 85db5cc commit 044b478
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion python/pyspark/shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,6 @@ def load(f):
chunks.append(load(open(path, 'rb')))
current_chunk = []
gc.collect()
batch //= 2
limit = self._next_limit()
MemoryBytesSpilled += max(used_memory - get_used_memory(), 0) << 20
DiskBytesSpilled += os.path.getsize(path)
Expand Down

0 comments on commit 044b478

Please sign in to comment.