Skip to content

chore: reduce memory usage in converter - #3159

Merged
wwqgtxx merged 1 commit into
MetaCubeX:Alphafrom
beck-8:fix/v2ray-convert-memory-leak
Aug 29, 2026
Merged

chore: reduce memory usage in converter#3159
wwqgtxx merged 1 commit into
MetaCubeX:Alphafrom
beck-8:fix/v2ray-convert-memory-leak

Conversation

@beck-8

@beck-8 beck-8 commented Aug 29, 2026

Copy link
Copy Markdown

之前用strings,后续很多地方都引用,这部分的大块内存不一定正常释放

github.com/metacubex/mihomo/common/convert.ConvertsV2Ray
github.com/metacubex/mihomo@v1.19.29/common/convert/converter.go

  Total:    323.96MB   323.96MB (flat, cum) 98.33%
     17            .          .           ??? 
     19     323.96MB   323.96MB           ??? 
     21            .          .           ??? 
     22            .          .           ??? 

@beck-8 beck-8 changed the title fix convert memory leak fix: convert memory leak Aug 29, 2026
@wwqgtxx wwqgtxx changed the title fix: convert memory leak chore: reduce memory usage in converter Aug 29, 2026
@wwqgtxx
wwqgtxx merged commit 65287f0 into MetaCubeX:Alpha Aug 29, 2026
135 checks passed
@beck-8
beck-8 deleted the fix/v2ray-convert-memory-leak branch August 29, 2026 13:15
ohmycggk pushed a commit to ohmycggk/mihomo that referenced this pull request Sep 3, 2026
ohmycggk pushed a commit to ohmycggk/mihomo that referenced this pull request Sep 9, 2026
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.

2 participants