[Postgres-xl-general] Invalid memory alloc request size

Mason Sharp msharp at translattice.com
Wed Sep 24 18:48:41 PDT 2014


On Wed, Sep 24, 2014 at 6:31 PM, Mason Sharp <msharp at translattice.com>
wrote:

>
>
> On Mon, Sep 22, 2014 at 9:49 AM, Aaron Jackson <ajackson at revionics.com>
> wrote:
>
>>      Yes, it appears (or at least is highly correlated) to be related to
>> the size of the table - 60M rows  So, I dumped the table, truncated the
>> table, added the node and then reloaded - no issues.
>>
>> Do you mind retrying with a smaller work_mem size? I believe you said you
> set yours for 1GB. When redistributing, it will use a size of work_mem
> internally. 1 GB happens to be 1073741824 bytes, and that error message
> gets triggered at 1GB - 1 byte.
>
> I think the fix here is for us to cap this to be below 1 GB if work_mem is
> too high.
>
> Thanks,
>
>
>
Please try attached patch and let me know if it helps, then I will commit
it.

Thanks,

Mason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/private.cgi/postgres-xl-general-postgres-xl.org/attachments/20140924/b4904bb8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: redist.patch
Type: application/octet-stream
Size: 843 bytes
Desc: not available
URL: <http://lists.postgres-xl.org/private.cgi/postgres-xl-general-postgres-xl.org/attachments/20140924/b4904bb8/attachment.obj>


More information about the postgres-xl-general mailing list