-
Notifications
You must be signed in to change notification settings - Fork 700
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
string copy issue with version 20200708 #1125
Comments
Hi @YJMLWZ, thanks for the report. Would you be able to identify where and how the big memory usage is happening? |
8x copies? that is surprising. |
@YJMLWZ, can you try updating your Pistache to master and let us know if the problem still arises? A lot has changed in the code base since July 2020. |
hi, two suggestions: valgrind mass_if report: |
hi,
we use pistache 20200708 as HTTP server, when it received a file , let's say the file size is 100MB, we observed the peak memory usage of our app grows rapidly to around 1GB. After checking by valgrind --mass_if, seems pistache copy the file content 8 or 9 times.
want to ask:
is this a known 'issue'?
any refinement regard this in newer version? I see string_view been used but not sure.
The text was updated successfully, but these errors were encountered: