Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan Luis Francés indpnday

View GitHub Profile
@indpnday
indpnday / riak_memory_leak.py
Created Dec 16, 2014
POC memory leak, memory backend Riak < 2.0
View riak_memory_leak.py
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
You can’t perform that action at this time.