consumerd memory leak
Consumerd memory usage increases in the following scenario:
lttng create mysession --snapshot -o /var/snapshots/
lttng enable-channel mychannel -u -s mysession
lttng enable-event -u -a -c mychannel -s mysession
lttng start mysession
lttng destroy mysession
Starting tracing the session adds 20 kb to the memory usage of consumerd.
Running this in a loop, consumerd starts to eat serious memory.
Make sure there are traced application running. The bug doesn't reproduce without.
Also from what I've tested it only happens in snapshot mode.
Bug reproduces on multiple machines with different architectures(tried armv7 with 3.10.62 kernel and ubuntu 14.04 3.19.0 x86_64), lttng 2.7.0 on armv7 and lttng 2.7.3 on x86_64.