I have a WebSocket Server using C that will run as a background process on Windows. And this process will accept requests that contains large image data (base64 format).
Everytime a request is received, memory is allocated using malloc. And free'd after the request is executed.
But when I check the Task Manager, the memory usage is not decreased. Also, when I send another request, additional memory is allocated.
My question is, why didn't the process released the allocated memory or reused the previously allocated memory?