Closed Hieu-github closed 2 months ago
I see 0.3MiB
increment in the profile output. Are you referring as memory leak?
@balamurugana yes. And in the next call, the memory is not release 0.3MiB.
It could be http client connection pool thing. Use get_object()
and handle file download your own. Check the memory usage on the process.
When I use get_object()
func. the result is
I realized that The code doesn't seem to fully reclaim the memory allocated to the response stream.
It is urllib3 connection pool thing. Pass your own pool manager to Minio
class for optimization.
I am using fget_object function to download a list file in Minio Server. But the monitor show me something strange
The memory increases over time.
I try debug with Memory_profiler module and the result are in the image below
Enviroment: