in reply to Tracing memory leak

Are you storing anything between connections?

Perhaps you could print the length of the dumper string for any globals to the console, and see if they grow over time.

Replies are listed 'Best First'.
Re^2: Tracing memory leak
by halfcountplus (Hermit) on Sep 14, 2011 at 18:55 UTC

    Are you storing anything between connections?

    No. Connections and requests are hashes (in hashes), but these are deleted after the connection is closed or the request is completed. So, eg, if I send 100000 requests with a concurrency of 50, the number of buckets in the connections hash won't exceed 64, and the number of used buckets afterward is what I'd expect.