Re: vacuumdb ERROR: out of memory - Mailing list pgsql-general

From Scott Marlowe
Subject Re: vacuumdb ERROR: out of memory
Date
Msg-id dcc563d11002091312y1d5ebf47rf69a10fe6c212f84@mail.gmail.com
Whole thread Raw
In response to Re: vacuumdb ERROR: out of memory  (John R Pierce <pierce@hogranch.com>)
List pgsql-general
On Tue, Feb 9, 2010 at 1:55 PM, John R Pierce <pierce@hogranch.com> wrote:
> Guillaume Lelarge wrote:
>>>
>>> is this a 64bit postgres build?
>>>
>>> if not, you're probably running out of virtual address space in the 32
>>> bit user space, which is limited to like 2gb.
>>>
>>>
>>
>> IIRC, the virtual address space in 32bit platforms is 4GB.
>>
>
> it is, but within that 4gb, the kernel uses the top 1gb, so there's 3gb left
> for user program space in each process.  shared memory, runtime libraries,
> etc all hve to come out of this 3gb user space

Note that any modern 32bit linux (oxymoron there, but anyway) can run
with PAE enabled and access far more than just 3GB of memory.
However, no single user space app can hit more than 2 or 3 (I forget
which) at a time.

pgsql-general by date:

Previous
From: Steve Atkins
Date:
Subject: Re: SSL connection lost after long-lasting copy command
Next
From: Asher Hoskins
Date:
Subject: Re: Best way to handle multi-billion row read-only table?