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

Multipart processing existence of memory leakage #903

Open
fish-jade opened this issue Sep 27, 2024 · 1 comment
Open

Multipart processing existence of memory leakage #903

fish-jade opened this issue Sep 27, 2024 · 1 comment
Labels
discussion The viability / implementation of the issue is up for debate

Comments

@fish-jade
Copy link

fish-jade commented Sep 27, 2024

demo:https://github.com/fish-jade/crow-demo/tree/demo-cpp

Core upload code
image

When using crow::multipart::message to upload a file of about 88 MB, no processing will be done, and eventually there will be a memory leak.
Memory before upload:

image

Uploaded memory:
image

Use postman to upload debugging, as shown in the figure:
image

Please help check if it is a usage problem or a leak bug of crow itself, thank you very much~ ❤️❤️

@fish-jade
Copy link
Author

No matter how long memory is never released, and there will be further memory increases after repeated requests for uploads.

@gittiver gittiver added the discussion The viability / implementation of the issue is up for debate label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion The viability / implementation of the issue is up for debate
Projects
None yet
Development

No branches or pull requests

2 participants