-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
leak memory #3196
Comments
这个Aws::S3::S3Client s3_client(Aws::Auth::AWSCredentials(ak,sk), clientConfig);可能同样一个配置的,我需要同时创建多个来用来上传文件,涉及到业务问题,所以不能使用一个上传。 |
在上行带宽增加时,程序内存的占用率增加,在带宽下降时,程序内存使用率持续平衡。等到下次带宽开始增加时,程序内存的占用率又开始增加。周而复始,直至内存耗尽。 |
Sorry, I don't understand Chinese, but I will do my best with google translate. Can you make sure that you are making all sdk calls following the correctly format by using #include <aws/core/Aws.h>
int main(int argc, char** argv)
{
Aws::SDKOptions options;
Aws::InitAPI(options);
{
// make your SDK calls here.
}
Aws::ShutdownAPI(options);
return 0;
} Also can you update to a newer version of this sdk. 1.7 is very old and there have been many fixes since then. |
I use the https protocol to send the data to the endpoint. There is a memory leak problem in multithreaded scenarios. |
Can you provide more details of the memory leak?
I'll mention this again, but upgrading to a newer version of the sdk would be helpful. 1.7 if very old |
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one. |
Describe the bug
以上是我的调用代码,我会在产生云存的线程里一直调用上边的代码。当流入的带宽有增加的情况下,程序占用的内存会有明显增长。但是在带宽下降后,增长的内存并没有得到释放。
说明:
我的程序是持续运行的,在程序开头调用了 Aws::InitAPI(_options);
Regression Issue
Expected Behavior
在带宽下降的情况下,占用的内存能够释放掉。
Current Behavior
程序内存会持续性的增加
Reproduction Steps
leak memory
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.7
Compiler and Version used
6.1
Operating System and version
centos7
The text was updated successfully, but these errors were encountered: