informatikr/hedis — Issue #4: Thunks leaking from sendRequest
Author: bgamari
Created: 2012-01-30 19:46:09+00:00
State: open

I have a rather simple but long-running script which reads data (tens of gigabytes) from a file and produces Redis SADDs. I've found that memory usage in this program grows linearly in the run time. It seems that the source of the leak is `sendRequest` called from `sadd` and the objects leaked are thunks of type `stg_sel_upd` and `stg_ap_2_upd_info`. The attached test case demonstrates the problem. You will find that memory usage monotonically increases as execution proceeds.