On Tue, 19 Nov 2013 10:56:03 GMT, Sergei Nosov wrote:

I experience the same behavior with 0.7.17 (and 0.7.18) versions of vibe.d.

A 1 Gib of memory consumption for 1M requests. Calling GC.collect() doesn't help. Is this the same bug?

Is that for doing client requests or for handling server requests? There was a memory leak that has been fixed in the HTTP client recently, but the fix is in 0.7.18-beta.2 (if that is the 0.7.18 which you have tested). Just now, I've also fixed a possible fiber leak that may have been the cause for a memory leak in a HTTP server.

Using the bench-http-server and bench-http-request example projects, I get stable memory usage now. However, without "VibeManualMemoryManagement" in package.json (i.e. using pure GC allocations) there is still a moderate growth in memory consumption for the benchmark client (about 70MB after 1M requests). Not sure if this is due to false pointers or because of some actual left over references.

(using Windows for testing)