InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

Started by Abraham, Dannyover 16 years ago3 messagesgeneral
Jump to latest
#1Abraham, Danny
danny_abraham@bmc.com

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

#2Magnus Hagander
magnus@hagander.net
In reply to: Abraham, Danny (#1)
Re: InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

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/

#3Abraham, Danny
danny_abraham@bmc.com
In reply to: Magnus Hagander (#2)
Re: InitDB 8.3.7 fails on Windows - Failed system call was MapViewOfFileEx

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