2 ms·
In my experience, long running Python was even worse than long running Java for memory leaks. It often wasn't so much a memory "leak" in the logical sense. It w
by icedchai 4y ago
In my experience, long running Python was even worse than long running Java for memory leaks. It often wasn't so much a memory "leak" in the logical sense. It was the the process size "bloating" from tons of mallocs and frees, leading to heap fragmentation (may not be exactly the right term.) This was many years ago.
- dilyevsky 4y agoYes it was likely fragmentation. You could run python with jemalloc (not sure what it does by default these day) and get much nicer memory footprint especially over time.