Thread: Postgres 8.3 erro on shared memory windows

Postgres 8.3 erro on shared memory windows

From
paulo matadr
Date:
Hi All,

Anyone knowns how to start postgres on win 2003 r2 with 2 GB of shared memory on O.S with 8GB.

ERROR FATAL: could not create shared memory segment 5
Failed system call was MapViewOFFileEx

I try use PAE :
/PAE /3GB but not sucessed.



Regards


 
Paulo

Re: Postgres 8.3 erro on shared memory windows

From
Craig Ringer
Date:
On 13/04/2011 8:02 PM, paulo matadr wrote:
> Hi All,
>
> Anyone knowns how to start postgres on win 2003 r2 with 2 GB of shared
> memory on O.S with 8GB.

You can't on Windows, unless you're running a 64-bit build on a 64-bit OS.

Given that Pg on Windows doesn't perform as well with lots of shared
memory, why do you want to? In any case, 2GB of shared memory wouldn't
leave you any address space for anything else important.

I wouldn't want to go above 1GB on 32-bit Windows.

--
Craig Ringer

Tech-related writing at http://soapyfrogs.blogspot.com/