Skip to content

Instantly share code, notes, and snippets.

@indpnday
indpnday / riak_memory_leak.py
Created December 16, 2014 18:17
POC memory leak, memory backend Riak < 2.0
import riak
from concurrent.futures import ThreadPoolExecutor, as_completed
from collections import deque
import time
import signal
def main_function():
client = riak.RiakClient(protocol='pbc', host='127.0.0.1', pbc_port=8097)
max_loops = 100