2 years ago
I have a simple program that lets the user send the video. It downloads it and saves to the disk. Now, when it does that, the memory usage goes up as well. It doesn't matter whether I write it on the volume, or not. Even deleting files afterwards within the program doesn't free up the memory.
Running same program locally doesn't cause this problem
2 Replies
a year ago
I'm fighting with memory leak for some time now that I cannot reproduce locally (service 94f272f4-aad6-4a0c-888c-2c688353f924
) and after reading it I might have the same issue
a year ago
This would be caused by your application buffering the entire upload into memory.
I can only reproduce this issue if I buffer the file upload, this issue then goes away when I stream the upload directly to disk.