roshan-research / hazm

Persian NLP Toolkit
https://www.roshan-ai.ir/hazm/
MIT License
1.2k stars 179 forks source link

Memory Leak when importing hazm inside of a package #284

Open alihoseiny opened 1 year ago

alihoseiny commented 1 year ago

Hello. When we are importing Hazm inside a package in a Django/Faust application (even though we do not use anything from that package) a memory leak happens and memory usage of the docker container passes the memory limit. We do not have that problem when using Hazm v0.7.0.

sir-kokabi commented 1 year ago

سلام. لطفاً یه پروژهٔ ساده با حداقل کد و مراحلی که این خطا رو تولید می‌کنه ارسال کنید.