awslabs / amazon-transcribe-streaming-sdk

The Amazon Transcribe Streaming SDK is an async Python SDK for converting audio into text via Amazon Transcribe.
Apache License 2.0
152 stars 38 forks source link

Memory Leak in Amazon Transcribe Streaming SDK (python) #105

Open xsmorris opened 2 days ago

xsmorris commented 2 days ago

Hi guys, there seems to be a memory leak in the python sdk for streaming. If you are transcribing audio it stores all audio sent to the service in memory which is less than ideal obviously. Only workaround for me was to manually recreate the service periodically. I have now moved to using the Java version instead and experience no issues. Cheers, good luck.

gscalise commented 1 day ago

Can you share a minimal reproduction example showing how you're using the library?