Cloud run memory piling up!

I have a flask service that is deployed in Google cloud.

When there are multiple requests coming , the memory usage keeps spiking.

The memory usage doesn't reduce even after the request is processed !

When I restart the cloud run, then only the memory gets freed. I am using memory profiler to identify potential memory leaks in my code and apparently there are none.

What might be the issue?

 

4 1 77
1 REPLY 1

Hi @Thala,

Welcome to Google Cloud Community!

Please check the following as one of these may be the reason of high memory usage:

You may also want to check this related Google Cloud Community question as this might be helpful with your case.

Hope this helps.

Top Labels in this Space