llm-graph-builder icon indicating copy to clipboard operation
llm-graph-builder copied to clipboard

Manually calling gc.collect is not recommended

Open Kain-90 opened this issue 1 year ago • 1 comments

Referring to the link below, I learned that and previously had never manually called gc.collect() in Python code before.

https://stackoverflow.com/questions/26761784/where-to-call-gc-collect

Kain-90 avatar Aug 14 '24 07:08 Kain-90

In some case like long-running processes that handle large amounts of data, memory might not be freed quickly enough, leading to memory bloat. So need to manually calling gc.collect() that can help manage memory more proactively.

praveshkumar1988 avatar Aug 14 '24 09:08 praveshkumar1988