Fixed memory leaks... not it shout use at max only 200*threads*width bytes :D