On Thu, 10 Feb 2005 10:19:32 +0900, Batara Kesuma <[EMAIL PROTECTED]> wrote: > Hi Tobias, > > On Wed, 9 Feb 2005 14:48:16 +0100 (CET) > Tobias Asplund <[EMAIL PROTECTED]> wrote: > > > > I try to install MySQL 4.1.9 (official RPM from mysql.com). My machine > > > is running linux 2.6.9, and it has 4GB of RAM. The problem is MySQL > > > won't start if I set innodb_buffer_pool_size to >= 2GB. Here is my > > > ulimit. > > > > Are you trying this on a 32-bit cpu machine? > > Sorry I forgot to mention. Yes, it is a 32-bit CPU machine.
Yup, most Linux glibc's limit a malloc() to 2 gigs in a misplaced(?) attempt to avoid errors due to signed/unsigned conversions. Since innodb just uses malloc() for things, getting above two gigs doesn't work. (the details can be a lot more complicated, ie. needing a kernel with a 4G/4G split, changing the base address mmap()ed regions start at, etc.) I don't think it would be hard at all to change innodb to let you use a 3-4 gig buffer pool on a 32 bit Linux box, but I've never had the time to look into it that deeply. It is unfortunate. -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]