Can I get Memcached running on a Windows (x64) 64bit environment?

Question :

Can I get Memcached running on a Windows (x64) 64bit environment?,

Answer :

Does anyone know IF, WHEN or HOW I can get  running on a Windows 64bit environment?

I’m setting up a new hosting solution and would much prefer to run a 64bit OS, and since it’s an ASP.Net MVC solution with SQL Server DB, the OS is either going to be Windows Server 2003 or (hopefully!) 2008.

I know that this could spill over into a debate regarding 32bit vs 64bit on servers, but let’s just say that my preference is 64bit and that I have some  reasons.

So far, I’ve tried a number of options and found a related to getting this up on a 32bit machine (and succeeded I might add), but since the original  is Win32 specific, this is hardly going to help when installing as a service on x64. It also has a dependency on the for which I can only get a Win32 compiled version.

I suspect that simply loading all this up in C++ and hitting “compile” (for 64bit) wouldn’t work, not least because of the intricate differences in 32 and 64bit architectures, but I’m wondering if anyone is working on getting this off the ground? Unfortunately, my expertise lie in managed code (C#) only, otherwise I would try and take this on myself, but I can’t believe I’m the only guy out there trying to get  running on a 64 bit Windows server….am I?

Read More  How do I change the password of the root user in MySQL?


Yes I’m afraid I’m still looking for an answer to this – all my efforts (with my pathetic C++ skills) to make a stable build have failed – I’ve trashed one server and 3 VM’s just trying it out so now I turn to the real experts.
Is anyone planning on porting this to 64bit? Or are you really suggesting that I use MS Velocity instead? I shudder at the thought.

@Lars – I do use Enyim actually – it’s very good, but what you’re referring to is a client, rather than the server part.

@DannySmurf – I’ve only been able to install it as a service on a 32 bit OS. 64 bit OS rejects the installation of this Win32 service. Of course yes, lots of Win32 code works seamlessly on x64 architecture, hence you can run 32bit apps (like Office for instance) or games on Vista/XP 64 etc, but this doesn’t translate directly when it comes to services. I’m no expert, I suspect that it has to do with the syncs or eventing that services need to subscribe to, and I suspect that 64 and 32 don’t play nicely. I’m happy to be corrected on any of this, but to answer your question – yes I have tried.

Read More  ADO.NET Connection Pooling & SQLServer

@OJ – thanks very much for the straight-forward response. I thought as much, but wasn’t sure if anyone else had suggestions or had already gone down this route. Maybe when StackOverflow is LIVE, then more people will respond and let me know if this is something being looked into, and although I can try and compile it myself – I simply can’t “trust” (with my C++ experience level) that it would provide “Enterprise Level” reliability in such a crucial component of large scalable solutions. I think it would need educated intervention rather than my unsanitised experimental approach before I could be confident. One little oversight on my part, could bring the site down. Oh well… till next time.


North Scale labs have released a build of memcached 1.4.4 for Windows x64:

Read More  How to get a list of current open windows/process with Java?


UPDATE: they have recently released Memcached Server – still FREE but enhanced distro with clustering, web-based admin/stats UI etc. (I’m not related to them in any way) Check it out at  and download at:UPDATE 2: NorthScale Memcached is no longer available as a standalone download. Now they have made it part of their commercial No-SQL DB offering called Membase. It can be configured to run in Memcached-only mode (i.e. without persistence) and there’s a 100% free version too. Check it out here:

UPDATE 3: MemBase has slept with CouchDB and produced a hybrid product offering, called CouchBase. They still do offer a free “Community” version at

That’s the answer Can I get Memcached running on a Windows (x64) 64bit environment?, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you