<div dir="ltr"><div dir="ltr">Hi
<div><br></div>
<div>I've been using the GitHub shines77/jemalloc-win32 for a while -  that uses 
jemalloc 3.6.0.</div>
<div><br></div>
<div>However recently I've hit problems relating to leaks in highly threaded 
environments. I know these are jemalloc related because if I swap out jemalloc 
for a different memory manager then they go away.<br></div>
<div><br></div>
<div>So it would seem to me that the first thing to do is to upgrade to 4.0.4 to 
see if the issue is resolved. However I am having some problem getting this to 
work under MSVC.</div>
<div><br></div>
<div>I can see that this is supposed to work because I can see MSVC bits in the 
config code. However there are lots of questions about this and a notable dearth 
of people who have been successful in this area. That includes me after my first 
day. :-(</div>
<div><br></div>
<div>The MSVC bit is easy. It's getting the config to generate the right bits 
that is difficult. </div>
<div><br></div>
<div>I'm using cygwin. I've put the Visual Studio 2012 environment variables 
into my shell so I can use MSVC CL and then I've done an ./<a href="http://autogen.sl/">autogen.sl</a> CC=CL. </div>
<div><br></div>
<div>This seems to work more or less ok. The results look feasible,.But then I'm 
missing important bits like sensible values in size_classes.h.</div>
<div><br></div>
<div>I would love any pointers here. I'm pretty hot on VC++ so once I get the 
config going it will be fine. I am sure that will also be useful for other people who want to do similar things.</div><div><br></div><div>Jos<br></div>
<div><br></div>
<div>
<div class="gmail_signature">----------------------------------------------------------------------<br>jos 
vernon<br><a href="http://www.websupergoo.com/" target="_blank">http://www.websupergoo.com/</a><br>.NET Image Components & 
Consultancy<br>----------------------------------------------------------------------</div></div></div>
</div>