views:

107

answers:

1

Hi there!

Actually when trying to get shared memory, shmget() often fails with 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?

Edit: I'm using Mac OS X Version 10.6

Best regards,
Niels

+1  A: 

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

Lukáš Lalinský
Thanks. The documentation provided what I needed. I just always forget to say what OS I'm using. I'll edit the question.
Polybos