about 2G memory problem and connection memory usage

John.H xiaocong.hust at gmail.com
Wed Aug 8 01:28:44 UTC 2007


Thanks Ryan.
So what will happen when I open the -m option with a number larger than 2G?
By the way,is that mean if I run memcached in a 64-bit OS,I should not open
-m option larger than 4G?

2007/8/8, Ryan Ordway <ryan.ordway at oregonstate.edu>:
>
> On 8/7/07 6:18 PM, "John.H" <xiaocong.hust at gmail.com> spake:
>
> > So,in a 32-bit OS ,it does have the 2G barrier?
> Why?
> Can you give some detail
> > infomation?
> Thanks, Ask.
>
> 2007/8/8, Ask Bjørn Hansen
> > <ask at develooper.com>:
>
> >
> >
> > On Aug 7, 2007, at 10:28, Brian P Brooks wrote:
>
> >
> > > Is there a reason why there is a 2G barrier?
>
> >
> > There isn't if you use a 64-bit OS.
>
>
>
> With a 32-bit OS, you cannot address more than 2GB of memory for a given
> process. Hence, the 2GB memory limit for memcached on a 32-bit OS.
>
> --
> Ryan Ordway                          E-mail:   rordway at oregonstate.edu
> Unix Systems Administrator             rordway at library.oregonstate.edu
> OSU Libraries, Corvallis, OR 97370        Office: Valley Library #4657
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070808/534b1ecb/attachment.htm


More information about the memcached mailing list