Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: possible oom when encode parallel in go1.16 #635

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

liuq19
Copy link
Collaborator

@liuq19 liuq19 commented May 21, 2024

Fix issue #634

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.60%. Comparing base (99f5b35) to head (c485a29).
Report is 8 commits behind head on main.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #635      +/-   ##
==========================================
- Coverage   77.56%   71.60%   -5.96%     
==========================================
  Files          83      123      +40     
  Lines       11542     8126    -3416     
==========================================
- Hits         8952     5819    -3133     
+ Misses       2192     1988     -204     
+ Partials      398      319      -79     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@liuq19 liuq19 merged commit be4a498 into main May 22, 2024
33 checks passed
@liuq19 liuq19 deleted the fix/oom_main branch May 22, 2024 02:23
pellared referenced this pull request in open-telemetry/opentelemetry-go-contrib May 22, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/bytedance/sonic](https://github.com/bytedance/sonic) |
`v1.11.6` -> `v1.11.7` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fbytedance%2fsonic/v1.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fbytedance%2fsonic/v1.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fbytedance%2fsonic/v1.11.6/v1.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fbytedance%2fsonic/v1.11.6/v1.11.7?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>bytedance/sonic (github.com/bytedance/sonic)</summary>

###
[`v1.11.7`](https://github.com/bytedance/sonic/releases/tag/v1.11.7)

[Compare
Source](https://github.com/bytedance/sonic/compare/v1.11.6...v1.11.7)

#### What's Changed

### BugFix

- fix: wrongly use `reflect.growslice()` by
[@&#8203;AsterDY](https://github.com/AsterDY) in
[https://github.com/bytedance/sonic/pull/629](https://github.com/bytedance/sonic/pull/629)
- fix: possible oom when encode parallel in go1.16 by
[@&#8203;liuq19](https://github.com/liuq19) in
[https://github.com/bytedance/sonic/pull/635](https://github.com/bytedance/sonic/pull/635)

**Full Changelog**:
bytedance/sonic@v1.11.6...v1.11.7

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-go-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbIlNraXAgQ2hhbmdlbG9nIiwiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
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