agoragames / kairos

Python module for time series data in Redis and Mongo
BSD 3-Clause "New" or "Revised" License
207 stars 38 forks source link

OrderedDict creates circular references #65

Open farshadkh opened 7 years ago

farshadkh commented 7 years ago

Kairos is using OrderedDict heavily and by its implementation, OrderedDict creates circular references. This causes memory leaks for apps which have gc disabled due to the performance increase.

I suggest: 1- Announce this in the documentation so people with gc disabled would know what's eating up their memory. 2- If possible replace OrderedDict implementation with something without circular references. There is odict package in pypi.