Noticed that possible memory leak occurred in xray-core with routing policies
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- go
- Domain
- networking
Research direction
Reproduce the gradual memory increase with Happ or V2BOX using xray-core 25.9 or 25.7 on iOS 18.7, while observing usage from the reported 12M baseline toward 50M. Narrow the issue to routing policies and identify a reproducible cause; done means memory no longer grows until the app crashes.
Written by the indexing model from the issue text.
Description
Both in Happ with xray-core 25.9 and V2BOX with xray-core 25.7 in iOS 18.7, I noticed that the memory used was gradually increasing from around 12M initially to finally 50M and made the app crash.
It took about from less than one hour to several hours for the final crash to occur.
If any further info about this topic is needed, I will provide as far as I can.
- Dominant language
- Go
- Stars
- 229
- Forks
- 170
- Avg merge
- 42m
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from XTLS/libXray
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
XTLS/libXray#83 · 8 comments ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
vanderheijden86/b9s#20 ·
-
go-battery needs an ndsctl on PATH: TestPurchaseSessionGuardHoldsThroughTheOutcomeUnknownWindow fails on bare hosts (passes with stub)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenTollGate/tollgate-module-basic-go#726 ·
Maintainers usually reply within 1 day
-
ux waiting for feedback
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
evcc-io/evcc#34527 · 1 comment ·
Maintainers usually reply within 1 day
-
phase:v3 type:harness
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day