You can use CFLAGS=-m32 on a 64 bit system to get a 32 bit binary. You'll be limited to 2 or 3GB per memcache process depending on your distro. You'll save a small amount of memory with the smaller pointer size, I wouldn't call it significant unless you have large numbers of very small items in your cache.
On Thu, Mar 4, 2010 at 2:40 AM, diegomsana <[email protected]> wrote: > Hello, > > I've search this group and the wiki and haven't found the answer for > this. Is it possible to compile and run memcache in 32-bit in a 64-bit > linux O.S? > > If it's possible, are there any drawback (besides instances limited to > 4GB)? Also i'm assuming i'll save significant amount of memory by > using 32-bit pointers vs 64-bit. Is that right? > > Cheers! >
