Re: trouble with a join on OS X

From: Kirk Wythers <kwythers(at)umn(dot)edu>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: trouble with a join on OS X
Date: 2007-02-02 16:53:04
Message-ID: AEA770BC-D75F-4F25-9FB7-CFE695AA80AA@umn.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Tom,

I tried ulimit -d 614400, but the query ended with the same error. I
thought then that the message:
psql(21522) malloc: *** vm_allocate(size=8421376) failed (error code=3)
psql(21522) malloc: *** error: can't allocate region
psql(21522) malloc: *** set a breakpoint in szone_error to debug
out of memory for query result

was telling me that I needed 841376 for the querry, so I tied bumping
ulimit -d up another 10 to 6244000. However, that attempt gave the
error:
truffula:~ kwythers$ ulimit -d 6144000
-bash: ulimit: data seg size: cannot modify limit: Operation not
permitted

So I tried re-setting ulimit -d back to 6144, which worked, but now I
can not seem to get ulimit -d to change again. It will not even allow
ulimit -d 614400 (even though that worked a second ago). This seems
very odd.

On Feb 2, 2007, at 10:11 AM, Tom Lane wrote:

> "Steinar H. Gunderson" <sgunderson(at)bigfoot(dot)com> writes:
>
>> On Fri, Feb 02, 2007 at 10:05:29AM -0600, Kirk Wythers wrote:
>>
>>> Thanks Tom... Any suggestions as to how much to raise ulimit -d? And
>>> how to raise ulimit -d?
>>>
>
>
>> Try multiplying it by 100 for a start:
>> ulimit -d 614400
>>
>
> Or just "ulimit -d unlimited"
>
> regards, tom lane
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>

Browse pgsql-performance by date

  From Date Subject
Next Message Kirk Wythers 2007-02-02 17:54:20 Re: trouble with a join on OS X
Previous Message Tom Lane 2007-02-02 16:11:49 Re: trouble with a join on OS X