Buf fixes: (`DDBHFTLoader.py`) Mannually close the `ddb_sess` in parallel jobs to avoid memory leaks.

main
Guofu Li 2 years ago
parent 57d0c7954f
commit 68610470c4

@ -482,4 +482,7 @@ class DDBHFTLoader(DDBLoader):
df_table_name = df_table_name df_table_name = df_table_name
)) ))
# 由于不是复用`DDBHFTLoader`对象内部的Session因此如果不手动关闭就会造成内存逐渐泄漏
ddb_sess.close()

Loading…
Cancel
Save