Continous increase in Memory usage

Hmm… This seems more like a problem related to C or the operating system than Python…
Since I’m a Windows user, I don’t really know much about Linux issues…


My view is that your latest test shows two different phenomena :

  1. The machine is still healthy at the system level right now.
  2. The Uvicorn process is retaining memory across requests.

Those are not the same…

Read more →
Continous increase in Memory usage

Apart from the following hypothesis, there are simply so many cases where using a dataset containing media files rather than text consumes more RAM than expected that I’m not sure if pinpointing the problem will be easy:


The most likely cause in your case is host RAM growth from the request path itself , then whole-file Wav2Vec2 inference on long audio , then **allocator…

Read more →
Page 1