PostgreSQL with 64 bit was: Re: shared_buffers > 284263 on OS X

From: Guido Neitzer <lists(at)event-s(dot)net>
To: pgsql-performance(at)postgresql(dot)org
Subject: PostgreSQL with 64 bit was: Re: shared_buffers > 284263 on OS X
Date: 2006-11-19 22:22:18
Message-ID: 198D0A0D-FC63-4CDB-9EF4-6AE471DA85EF@event-s.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Michael Stone 2006-11-19 22:32:38 Re: Postgres server crash
Previous Message Craig A. James 2006-11-19 22:12:01 Re: Postgres server crash