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

Поиск
Список
Период
Сортировка
От Guido Neitzer
Тема PostgreSQL with 64 bit was: Re: shared_buffers > 284263 on OS X
Дата
Msg-id 198D0A0D-FC63-4CDB-9EF4-6AE471DA85EF@event-s.net
обсуждение исходный текст
Ответ на Re: shared_buffers > 284263 on OS X  (Guido Neitzer <lists@event-s.net>)
Список 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 по дате отправления:

Предыдущее
От: "Craig A. James"
Дата:
Сообщение: Re: Postgres server crash
Следующее
От: Michael Stone
Дата:
Сообщение: Re: Postgres server crash