PostgreSQL with 64 bit was: Re: shared_buffers > 284263 on OS X - Mailing list pgsql-performance

From Guido Neitzer
Subject PostgreSQL with 64 bit was: Re: shared_buffers > 284263 on OS X
Date
Msg-id 198D0A0D-FC63-4CDB-9EF4-6AE471DA85EF@event-s.net
Whole thread Raw
In response to Re: shared_buffers > 284263 on OS X  (Guido Neitzer <lists@event-s.net>)
List pgsql-performance
Am 18.11.2006 um 19:44 schrieb Guido Neitzer:

> It might be, that you hit an upper limit in Mac OS X:
>
> [galadriel: memtext ] cug $ ./test
> test(291) malloc: *** vm_allocate(size=2363490304) failed (error
> code=3)
> test(291) malloc: *** error: can't allocate region
> test(291) malloc: *** set a breakpoint in szone_error to debug
> max alloc = 2253 M

Compiled with 64 Bit support the test program doesn't bring an error.

I have now tried to compile PostgreSQL as a 64 Bit binary on Mac OS X
but wasn't able to do so. I'm running against the wall with my
attempts but I must admit that I'm not an expert on that low level C
stuff.

I tried with setting the CFLAGS env variable to '-mpowerpc64 -
mcpu=970 -m64' but with that, I'm not able to compile PostgreSQL on
my G5.

Has someone hints for that?

cug

pgsql-performance by date:

Previous
From: "Craig A. James"
Date:
Subject: Re: Postgres server crash
Next
From: Michael Stone
Date:
Subject: Re: Postgres server crash