简体   繁体   中英

Increase memory for shared memory

When trying to get shared memory, shmget() often fails because being unable to allocate memory. The physical size of RAM really shouldn't be the problem (4GB is enough, I think). Rather there's probably anywhere in the systems properties a limit for allocating shared memory set. Does anyone know, where I can find this property?

I'm using Mac OS X Version 10.6

Depends on the OS. PostgreSQL documentation has tips for changing the shared memory limit on various platforms.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM