Skip to content

[SPARK-22721] BytesToBytesMap peak memory usage not accurate after reset()#19915

Closed
juliuszsompolski wants to merge 1 commit intoapache:masterfrom
juliuszsompolski:SPARK-22721
Closed

[SPARK-22721] BytesToBytesMap peak memory usage not accurate after reset()#19915
juliuszsompolski wants to merge 1 commit intoapache:masterfrom
juliuszsompolski:SPARK-22721

Conversation

@juliuszsompolski
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

BytesToBytesMap doesn't update peak memory usage before shrinking back to initial capacity in reset(), so after a disk spill one never knows what was the size of hash table was before spilling.

How was this patch tested?

Checked manually.

@juliuszsompolski
Copy link
Copy Markdown
Contributor Author

cc @cloud-fan

@hvanhovell
Copy link
Copy Markdown
Contributor

LGTM

@SparkQA
Copy link
Copy Markdown

SparkQA commented Dec 6, 2017

Test build #84572 has finished for PR 19915 at commit eeb0f31.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@hvanhovell
Copy link
Copy Markdown
Contributor

Merging to master. Thanks!

@asfgit asfgit closed this in d32337b Dec 7, 2017
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