> 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.