I believe this is a common problem, but if that helps, I run the LucidDB database (0.9.4) on Mac OS X 10.8 with 16 GB of RAM. Database software is written primarily in Java with some parts in C ++. When I increased the size of the buffer pool to 1 GB, I received the following error.
java (669,0xfc621000) malloc: * mmap (size = 16777216) failed (error code = 12) : cannot select region ** set breakpoint in malloc_error_break for debugging
I believe the buffer pool uses shared memory, so I increased the maximum available shared memory (kern.sysv.shmmax, kern.sysv.shmall) to 2 GB. I also increased the java heap size (Xms, Xmx) to 1536 MB. Am I stuck, any hints?
source share