Thread: InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

From
"Abraham, Danny"
Date:
Hi,

InitDB of 8.3.7 fails.
Windows XP.
Compiled with VC2008, SP1

creating template1 database in ...

2009-08-04 11:46:53.954 GMTFATAL:  could not create shared memory segment: 8
2009-08-04 11:46:53.970 GMTDETAIL:  Failed system call was MapViewOfFileEx.

child process exited with exit code 1

Any idea?

Thanks

Danny

Re: InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

From
Magnus Hagander
Date:
On Tue, Aug 4, 2009 at 16:48, Abraham, Danny<danny_abraham@bmc.com> wrote:
> Hi,
>
> InitDB of 8.3.7 fails.
> Windows XP.
> Compiled with VC2008, SP1

Please note that VC2008 is not a supported build environment for the
backend. you need to get VC2005.


> creating template1 database in ...
>
> 2009-08-04 11:46:53.954 GMTFATAL:  could not create shared memory segment: 8
> 2009-08-04 11:46:53.970 GMTDETAIL:  Failed system call was MapViewOfFileEx.

That's "not enough storage is available". Kind of sounds as if you
were running out of address space. Three questions:
1) Anything modified at all in the source or share files, like
postgresql.conf.sample?
2) Any antivirus software on the machine?
3) Any chance you're simply out of memory? :-)

--
 Magnus Hagander
 Self: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Re: InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

From
"Abraham, Danny"
Date:
Adding memory and releasing several memory consumers did the trick.

Thanks a lot.

Danny Abraham
BMC Software
CTM&D Business Unit
972-52-4286-513
danny_abraham@bmc.com