You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "jerqi (via GitHub)" <gi...@apache.org> on 2023/05/12 13:51:13 UTC
[GitHub] [incubator-uniffle] jerqi opened a new pull request, #877: [MINOR] refactor: Reduce the memory of usage in the `ShuffleWriter`
jerqi opened a new pull request, #877:
URL: https://github.com/apache/incubator-uniffle/pull/877
### What changes were proposed in this pull request?
We should immediately remove the `WriteBuffer` after we use the method `createShuffleBlock` to create `ShuffeBlock`. Otherwise we will have the compressed data and uncompressed data at the same time in the memory. JVM's GC can't collect the memory of uncompressed data, because the data have the reference in the map `buffers`.
### Why are the changes needed?
Reduce the usage of memory.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
CI passed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] codecov-commenter commented on pull request #877: [MINOR] refactor: Reduce the usage of memory in the `ShuffleWriter`
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #877:
URL: https://github.com/apache/incubator-uniffle/pull/877#issuecomment-1545797239
## [Codecov](https://app.codecov.io/gh/apache/incubator-uniffle/pull/877?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#877](https://app.codecov.io/gh/apache/incubator-uniffle/pull/877?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (ffb1429) into [master](https://app.codecov.io/gh/apache/incubator-uniffle/commit/9c26c1b93dfe487ddf7bedeaa2cd690e2b27efac?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (9c26c1b) will **increase** coverage by `1.43%`.
> The diff coverage is `n/a`.
```diff
@@ Coverage Diff @@
## master #877 +/- ##
============================================
+ Coverage 56.58% 58.02% +1.43%
+ Complexity 2176 2041 -135
============================================
Files 327 290 -37
Lines 15981 12661 -3320
Branches 1263 1185 -78
============================================
- Hits 9043 7346 -1697
+ Misses 6430 4909 -1521
+ Partials 508 406 -102
```
[see 41 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-uniffle/pull/877/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
:mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] jerqi commented on pull request #877: [MINOR] refactor: Reduce the usage of memory in the `ShuffleWriter`
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #877:
URL: https://github.com/apache/incubator-uniffle/pull/877#issuecomment-1545845357
Merged to master. thanks @zuston
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] jerqi commented on pull request #877: [MINOR] refactor: Reduce the usage of memory in the `ShuffleWriter`
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #877:
URL: https://github.com/apache/incubator-uniffle/pull/877#issuecomment-1545829476
> LGTM.
>
> Is it possible that WriteBuffer support ByteBuffer directly?
This pr is doing similar thing https://github.com/apache/incubator-uniffle/pull/861
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org
[GitHub] [incubator-uniffle] jerqi merged pull request #877: [MINOR] refactor: Reduce the usage of memory in the `ShuffleWriter`
Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi merged PR #877:
URL: https://github.com/apache/incubator-uniffle/pull/877
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org