<div dir="ltr">Jos, the assertion that "<span style="font-size:12.8px">if I swap out jemalloc for a different memory manager then they go away" equals "</span><span style="font-size:12.8px">I know these [problems] are jemalloc related" is invalid, because it could be that a bug in the code related to the "</span><span style="font-size:12.8px">highly threaded environments" is simply not being hit when using a different memory manager - i.e. the problem could still be in the source of whatever software you're working with also, even if it is somewhat less likely. A logical mistake to make.</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 19, 2015 at 9:08 PM, Jos Vernon <span dir="ltr"><<a href="mailto:jv@websupergoo.com" target="_blank">jv@websupergoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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/" target="_blank">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>----------------------------------------------------------------------<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>
<br>_______________________________________________<br>
jemalloc-discuss mailing list<br>
<a href="mailto:jemalloc-discuss@canonware.com">jemalloc-discuss@canonware.com</a><br>
<a href="http://www.canonware.com/mailman/listinfo/jemalloc-discuss" rel="noreferrer" target="_blank">http://www.canonware.com/mailman/listinfo/jemalloc-discuss</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><br><font face="arial,helvetica,sans-serif">Kind Regards,<br>God Bless,<br>-- <br>Roel Van de Paar, </font><font face="arial,helvetica,sans-serif">CMDBA/CMDEV Senior QA Lead, </font>Percona<div><font face="arial,helvetica,sans-serif">Tel: +61 2 8004 1288 (UTC+10)<br>Mob: +61 427 141 635 (UTC+10)<br>Skype: percona.rvandepaar<br></font><font face="arial,helvetica,sans-serif"><a href="http://www.percona.com/services.html" target="_blank">http://www.percona.com/services.html</a></font><br></div><div><br></div><div><div>Looking for Replication with Data Consistency?</div><div>Try <a href="http://www.percona.com/software/percona-xtradb-cluster" target="_blank">Percona XtraDB Cluster</a>!</div></div></div></div></div></div>
</div>